Skip to content

Instantly share code, notes, and snippets.

@imaman
Created May 29, 2021 10:35
Show Gist options
  • Save imaman/5cd191f209a57beb3606b9fe40d78389 to your computer and use it in GitHub Desktop.
Save imaman/5cd191f209a57beb3606b9fe40d78389 to your computer and use it in GitHub Desktop.
simple bash prompt
BLUE="\[\033[01;34m\]"
~/code/sample-monorepo$ WHITE="\[\033[01;00m\]"
~/code/sample-monorepo$ PS1="${debian_chroot:+($debian_chroot)}$BLUE\w\$ $WHITE"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment