You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
394 B
11 lines
394 B
14 years ago
|
if [ $UID -eq 0 ]; then CARETCOLOR="red"; else CARETCOLOR="blue"; fi
|
||
15 years ago
|
|
||
15 years ago
|
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
||
|
|
||
15 years ago
|
PROMPT='%m %{${fg_bold[blue]}%}:: %{$reset_color%}%{${fg[green]}%}%3~ $(git_prompt_info)%{${fg_bold[$CARETCOLOR]}%}»%{${reset_color}%} '
|
||
15 years ago
|
|
||
|
RPS1="${return_code}"
|
||
|
|
||
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹"
|
||
|
ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"
|