mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01:00
Cleaning up conflict with merge of #2330
This commit is contained in:
commit
2208854597
1 changed files with 6 additions and 3 deletions
|
@ -8,8 +8,6 @@
|
||||||
# Created on: June 19, 2012
|
# Created on: June 19, 2012
|
||||||
# Last modified on: June 20, 2012
|
# Last modified on: June 20, 2012
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi
|
if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi
|
||||||
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
||||||
|
|
||||||
|
@ -27,7 +25,12 @@ eval my_gray='$FG[237]'
|
||||||
eval my_orange='$FG[214]'
|
eval my_orange='$FG[214]'
|
||||||
|
|
||||||
# right prompt
|
# right prompt
|
||||||
RPROMPT='$(virtualenv_prompt_info)$my_gray%n@%m%{$reset_color%}%'
|
if type "virtualenv_prompt_info" > /dev/null
|
||||||
|
then
|
||||||
|
RPROMPT='$(virtualenv_prompt_info)$my_gray%n@%m%{$reset_color%}%'
|
||||||
|
else
|
||||||
|
RPROMPT='$my_gray%n@%m%{$reset_color%}%'
|
||||||
|
fi
|
||||||
|
|
||||||
# git settings
|
# git settings
|
||||||
ZSH_THEME_GIT_PROMPT_PREFIX="$FG[075](branch:"
|
ZSH_THEME_GIT_PROMPT_PREFIX="$FG[075](branch:"
|
||||||
|
|
Loading…
Reference in a new issue