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.
10 lines
380 B
10 lines
380 B
14 years ago
|
# ZSH Theme emulating the Fish shell's default prompt.
|
||
|
|
||
|
local user_color='green'; [ $UID -eq 0 ] && user_color='red'
|
||
|
PROMPT='%n@%m %{$fg[$user_color]%}%~%{$reset_color%}%(!.#.>) '
|
||
|
PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
|
||
|
RPS1='%(?..%{$fg[red]%}%? ↵%{$reset_color%})$(git_prompt_info)'
|
||
|
|
||
|
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[cyan]%}"
|
||
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|