Last active
September 4, 2022 16:34
-
-
Save techwithjake/31aa03f67fa92d16d0bbb3401d53c6e6 to your computer and use it in GitHub Desktop.
PS1 BashRC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS1='\[`[ $? = 0 ] && X=2 || X=1; tput setaf $X`\][$(whoami)@\h\[`tput sgr0`\]:$PWD/] $ ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment