mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Merge c05a28a7d9 into e2838f75f0
This commit is contained in:
commit
f43c912065
1 changed files with 6 additions and 1 deletions
|
|
@ -27,7 +27,12 @@ eval my_gray='$FG[237]'
|
||||||
eval my_orange='$FG[214]'
|
eval my_orange='$FG[214]'
|
||||||
|
|
||||||
# right prompt
|
# right prompt
|
||||||
PROMPT='$(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…
Add table
Add a link
Reference in a new issue