Skip to content

Instantly share code, notes, and snippets.

@Pixep
Last active May 10, 2018 09:15
Show Gist options
  • Save Pixep/161100e7354d83ffb51e22763222039d to your computer and use it in GitHub Desktop.
Save Pixep/161100e7354d83ffb51e22763222039d to your computer and use it in GitHub Desktop.
Clean bash PS1 with host and path
export PS1="\n\[$(tput sgr0)\]\[\033[38;5;10m\]\h\[$(tput sgr0)\]\[\033[38;5;244m\]:\w\[$(tput sgr0)\]\[\033[38;5;15m\]\n\[$(tput sgr0)\]\[\033[38;5;39m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;244m\]>\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment