mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
add vi_mode info to right promopt
This commit is contained in:
parent
c00d7f2e09
commit
ffc00b2554
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ PROMPT='%{$fg_no_bold[cyan]%}%n %{$fg_no_bold[yellow]%}%3~%{$reset_color%} %{$fg
|
|||
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ] || [ -n "$SSH_CONNECTION" ]; then
|
||||
PROMPT="%{$fg[yellow]%}%m%{$reset_color%} $PROMPT"
|
||||
fi
|
||||
RPROMPT='$(git_prompt_info) %{$reset_color%}[%*]'
|
||||
RPROMPT='$(vi_mode_prompt_info) $(git_prompt_info) %{$reset_color%}[%*]'
|
||||
|
||||
# git theming
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[blue]%}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue