Skip to content

Instantly share code, notes, and snippets.

@ZelphirKaltstahl
Last active September 16, 2017 17:07
Show Gist options
  • Save ZelphirKaltstahl/5cee7d8ac6903cdad518a9c67a74cbf6 to your computer and use it in GitHub Desktop.
Save ZelphirKaltstahl/5cee7d8ac6903cdad518a9c67a74cbf6 to your computer and use it in GitHub Desktop.
PS1 code for my bash
export PS1="\[\033[38;5;78m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]@\[$(tput sgr0)\]\[\033[38;5;203m\]\h\[$(tput sgr0)\]\[\033[38;5;15m\]@\[$(tput bold)\]\[$(tput sgr0)\]\[\033[38;5;74m\]\w\[$(tput sgr0)\]\[$(tput sgr0)\]\[\033[38;5;15m\]:\[$(tput sgr0)\]"
# simple
export PS1="[\[$(tput sgr0)\]\[\033[38;5;194m\]\t\[$(tput sgr0)\]\[\033[38;5;15m\]]:[\[$(tput sgr0)\]\[\033[38;5;111m\]\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