Prompt: add some colors.

This commit is contained in:
Jelmer Snoeck
2012-04-28 12:55:06 +02:00
parent 57a03f8db1
commit 57d043a019
+1 -1
View File
@@ -70,7 +70,7 @@ rewrite_prompt()
[ $UID -eq "0" ] && UC=$R # root's color [ $UID -eq "0" ] && UC=$R # root's color
# rewrite prompt # rewrite prompt
PS1="\${__prompt_environment}[\\t] ${G}\u@\h> \${NEW_PWD} ${C}\$(git_branch)\${NONE}${NONE}\n$ " PS1="\${R}${__prompt_environment}${W}[\\t] ${G}\u@\h> \${NEW_PWD} ${C}\$(git_branch)\${NONE}${NONE}\n$ "
} }
# adds ~/.ssh/config to the ssh autocomplete # adds ~/.ssh/config to the ssh autocomplete