Last active
January 28, 2019 16:05
-
-
Save j-brn/4698a1fb1b0090cdb17f153ae42f7f05 to your computer and use it in GitHub Desktop.
$PS1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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