Last active
August 29, 2015 14:20
-
-
Save amirouche/4cafa6f82948e692a27c to your computer and use it in GitHub Desktop.
bash snippets
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
# user https://wiki.archlinux.org/index.php/Color_Bash_Prompt#Regular_user | |
PS1='\[\e[0;32m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;32m\]\$\[\e[m\] \[\e[1;37m\]' | |
# root | |
PS1='\[\e[0;31m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[0;31m\]\$ \[\e[m\]\[\e[0;32m\]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment