Skip to content

Instantly share code, notes, and snippets.

@WhoAteDaCake
Created July 31, 2019 10:29
Show Gist options
  • Save WhoAteDaCake/88102d09ca072e08e5ec502d020f03ab to your computer and use it in GitHub Desktop.
Save WhoAteDaCake/88102d09ca072e08e5ec502d020f03ab to your computer and use it in GitHub Desktop.
Bash prompt
export PROMPT_DIRTRIM=2
export PS1="[\[$(tput sgr0)\]\[\033[38;5;202m\]\A\[$(tput sgr0)\]\[\033[38;5;15m\]][\[$(tput sgr0)\]\[\033[38;5;70m\]\H\[$(tput sgr0)\]\[\033[38;5;15m\]][\[$(tput sgr0)\]\[\033[38;5;6m\]\w\[$(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