Skip to content

Instantly share code, notes, and snippets.

@j-brn
Last active January 28, 2019 16:05
Show Gist options
  • Select an option

  • Save j-brn/4698a1fb1b0090cdb17f153ae42f7f05 to your computer and use it in GitHub Desktop.

Select an option

Save j-brn/4698a1fb1b0090cdb17f153ae42f7f05 to your computer and use it in GitHub Desktop.
$PS1
# The bash prompt i use.
# [17:02:54] user@hostname : /tmp/example-repo (master)
# >
#
# created using http://bashrcgenerator.com/ with manualy added git branch display
export PS1="[\[$(tput sgr0)\]\[\033[38;5;2m\]\t\[$(tput sgr0)\]\[\033[38;5;15m\]] \[$(tput sgr0)\]\[\033[38;5;12m\]\u\[$(tput sgr0)\]\[\033[38;5;11m\]@\[$(tput sgr0)\]\[\033[38;5;14m\]\h\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;8m\]:\[$(tput sgr0)\]\[\033[38;5;15m\] \w \[$(tput sgr0)\]\[\033[38;5;99m\]\$(__git_ps1 '(%s)')\[$(tput sgr0)\]\[\033[38;5;15m\]\n> \[$(tput sgr0)\]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment