-
-
Save cablesky/af4d58abcec69dea3a4d05b02999149a 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