Created
September 15, 2010 19:47
-
-
Save matagus/581329 to your computer and use it in GitHub Desktop.
cool bash prompt configuration
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
| MYCOLOR1="\[\033[1;32m\]" | |
| MYCOLOR2="\[\033[1;34m\]" | |
| MYCOLOR3="\[\033[1;37m\]" | |
| MYCOLOR4="\[\033[1;32m\]" | |
| export PS1="$MYCOLOR1\u$MYCOLOR2|$MYCOLOR3\h $MYCOLOR2\w $MYCOLOR4> \[\033[00m\]" | |
| esto en /root/.bashrc: | |
| MYCOLOR1="\[\033[1;41m\]\[\033[1;37m\]" | |
| MYCOLOR2="\[\033[1;40m\]\[\033[0;37m\]" | |
| MYCOLOR3="\[\033[1;40m\]\[\033[0;31m\]" | |
| MYCOLOR4="\[\033[1;40m\]\[\033[0;31m\]" | |
| export PS1="$MYCOLOR1 \u $MYCOLOR3 \h $MYCOLOR2\w $MYCOLOR4> \[\033[00m\]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment