mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-06 03:10:35 +01:00
Fix bad right prompt placing.
This commit is contained in:
parent
30a87b44d0
commit
bb641a1e0b
1 changed files with 1 additions and 6 deletions
|
|
@ -27,12 +27,7 @@ eval my_gray='$FG[237]'
|
||||||
eval my_orange='$FG[214]'
|
eval my_orange='$FG[214]'
|
||||||
|
|
||||||
# right prompt
|
# right prompt
|
||||||
if type "virtualenv_prompt_info" > /dev/null
|
RPROMPT='$(virtualenv_prompt_info)$my_gray%n@%m%{$reset_color%}%'
|
||||||
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