Last active
March 15, 2017 22:45
-
-
Save fjarrett/7b456b60abf40294e812ebcc383bc3bc to your computer and use it in GitHub Desktop.
Collection of simple PS1s for bash profiles
This file contains 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
# HH:MM:SS [cwd] $ | |
export PS1="\t [\W] \\$ " | |
# HH:MM:SS [cwd] $ (colorized) | |
export PS1="\[\e[37m\]\t\[\e[m\] \[\e[36m\][\[\e[m\]\[\e[36m\]\W\[\e[m\]\[\e[36m\]]\[\e[m\] \[\e[32m\]\\$\[\e[m\] " | |
# user@host [/path/to/cwd] $ | |
export PS1="\u@\h [\w] \\$ " | |
# user@host [/path/to/cwd] $ (colorized) | |
export PS1="\[\e[35m\]\u\[\e[m\]@\[\e[31m\]\h\[\e[m\] \[\e[36m\][\[\e[m\]\[\e[36m\]\w\[\e[m\]\[\e[36m\]]\[\e[m\] \[\e[32m\]\\$\[\e[m\] " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment