Skip to content

Instantly share code, notes, and snippets.

@techwithjake
Last active September 4, 2022 16:34
Show Gist options
  • Save techwithjake/31aa03f67fa92d16d0bbb3401d53c6e6 to your computer and use it in GitHub Desktop.
Save techwithjake/31aa03f67fa92d16d0bbb3401d53c6e6 to your computer and use it in GitHub Desktop.
PS1 BashRC
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