Skip to content

Instantly share code, notes, and snippets.

@rogervila
Created May 15, 2018 10:48
Show Gist options
  • Save rogervila/1cbe92ee704f0fa079800ad32b202cab to your computer and use it in GitHub Desktop.
Save rogervila/1cbe92ee704f0fa079800ad32b202cab to your computer and use it in GitHub Desktop.
Useful PS1
# 00:00:00 user@server:[/current/path]
export PS1=export PS1="\[\033[38;5;231m\]\t\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;85m\]\u@\h\[$(tput sgr0)\]\[\033[38;5;15m\]:\[$(tput sgr0)\]\[\033[38;5;195m\][\w]\[$(tput sgr0)\]\[\033[38;5;17m\]:\[$(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