Explorar el Código

Prompt: set correct color use.

Jelmer Snoeck hace 12 años
padre
commit
ea79c14792
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      .bash/prompt

+ 1 - 1
.bash/prompt

@@ -70,7 +70,7 @@ rewrite_prompt()
 	[ $UID -eq "0" ] && UC=$R   # root's color
 
 	# 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