Created
October 31, 2012 18:38
-
-
Save derryl/3988979 to your computer and use it in GitHub Desktop.
Derryl's colored prompts
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
# basic green prompt with teal pathname | |
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ ' | |
# green username@location + silly-looking koala | |
export PS1='\[\033[01;32m\]\u@\h \[\033[0m\]ʕ \[\033[01;31m\]•\[\033[0m\]ᴥ\[\033[01;31m\]•\[\033[0m\]ʔ ' | |
# green username@location + teal pathname + red musical note | |
export PS1='\[\033[01;32m\]\u@\h \[\033[01;36m\]\w \[\e[1;31m\]♫ \[\033[00m\]' | |
# red musical note + teal pathname | |
export PS1='\[\e[1;31m\]♫ \[\033[01;36m\] \w \[\033[00m\]' | |
# blood-red prompt, displays only immediate directory (not full path) | |
export PS1='\[\e[1;31m\][\u \W]\$\[\e[0m\] ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment