Can't get too much of a good thing ;-)

-Dx
This commit is contained in:
D. Rimron 2011-07-01 15:33:27 +01:00
commit 0efa41d7cd

View file

@ -1,11 +1,11 @@
if [ "$(whoami)" = "root" ]
if [ "$(whoami)" = "root" ]
then CARETCOLOR="red"
else CARETCOLOR="blue"
fi
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
PROMPT='%m%{${fg_bold[magenta]}%} :: %{$reset_color%}%{${fg[green]}%}%3~ %{${fg_bold[$CARETCOLOR]}%}%#%{${reset_color}%} '
PROMPT='%{${fg[green]}%}${USER}%{${fg[yellow]}%}@%{${fg[blue]}%}%m%{${fg[magenta]}%}ᐉ %{$reset_color%}%{${fg[green]}%}%3~ %{${fg_bold[$CARETCOLOR]}%}%#%{${reset_color}%} '
RPS1=' ${return_code} $(git_prompt_info)'