Skip to content

Instantly share code, notes, and snippets.

@cablesky
Forked from techwithjake/.bashrc
Created September 4, 2022 16:34
Show Gist options
  • Save cablesky/af4d58abcec69dea3a4d05b02999149a to your computer and use it in GitHub Desktop.
Save cablesky/af4d58abcec69dea3a4d05b02999149a 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