update vi-mode plugin

This commit is contained in:
shiludeng 2017-12-02 22:16:13 +08:00
commit 2807c4348c
2 changed files with 38 additions and 2 deletions

View file

@ -49,5 +49,6 @@ function vi_mode_prompt_info() {
# define right prompt, if it wasn't defined by a theme
#if [[ "$RPS1" == "" && "$RPROMPT" == "" ]]; then
RPS1="$RPS1"'$(vi_mode_prompt_info)'"$RPROMPT"
RPS1='$(vi_mode_prompt_info)'
#RPS1="$RPS1"'$(vi_mode_prompt_info)'"$RPROMPT"
#fi