From fec8c1d4874533db8f88ae6d271e4c70a39d7dc7 Mon Sep 17 00:00:00 2001 From: Sean Carolan Date: Wed, 5 Mar 2014 14:12:55 -0500 Subject: [PATCH] Added command line notifier for vi-mode --- plugins/vi-mode/vi-mode.plugin.zsh | 2 +- themes/zmoji.zsh-theme | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/vi-mode/vi-mode.plugin.zsh b/plugins/vi-mode/vi-mode.plugin.zsh index a06100472..5f60e6fe4 100644 --- a/plugins/vi-mode/vi-mode.plugin.zsh +++ b/plugins/vi-mode/vi-mode.plugin.zsh @@ -22,7 +22,7 @@ bindkey -v # if mode indicator wasn't setup by theme, define default if [[ "$MODE_INDICATOR" == "" ]]; then - MODE_INDICATOR="%{$fg_bold[red]%}<%{$fg[red]%}<<%{$reset_color%}" + MODE_INDICATOR="%{$fg[red]%}[CMD]%{$reset_color%}" fi function vi_mode_prompt_info() { diff --git a/themes/zmoji.zsh-theme b/themes/zmoji.zsh-theme index 033d10636..fd86a8dbe 100644 --- a/themes/zmoji.zsh-theme +++ b/themes/zmoji.zsh-theme @@ -55,9 +55,8 @@ function setprompt { # Use this prompt if you want your ICON to change every hour PROMPT='[%{$fg[yellow]%}%2~%{$reset_color%}]%(0T.$EMOJI[$ICONLIST[24]].%(1T.$EMOJI[$ICONLIST[1]].%(2T.$EMOJI[$ICONLIST[2]].%(3T.$EMOJI[$ICONLIST[3]].%(4T.$EMOJI[$ICONLIST[4]].%(5T.$EMOJI[$ICONLIST[5]].%(6T.$EMOJI[$ICONLIST[6]].%(7T.$EMOJI[$ICONLIST[7]].%(8T.$EMOJI[$ICONLIST[8]].%(9T.$EMOJI[$ICONLIST[9]].%(10T.$EMOJI[$ICONLIST[10]].%(11T.$EMOJI[$ICONLIST[11]].%(12T.$EMOJI[$ICONLIST[12]].%(13T.$EMOJI[$ICONLIST[13]].%(14T.$EMOJI[$ICONLIST[14]].%(15T.$EMOJI[$ICONLIST[15]].%(16T.$EMOJI[$ICONLIST[16]].%(17T.$EMOJI[$ICONLIST[17]].%(18T.$EMOJI[$ICONLIST[18]].%(19T.$EMOJI[$ICONLIST[19]].%(20T.$EMOJI[$ICONLIST[20]].%(21T.$EMOJI[$ICONLIST[21]].%(22T.$EMOJI[$ICONLIST[22]].%(23T.$EMOJI[$ICONLIST[23]].\$)))))))))))))))))))))))) %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}% %{$reset_color%}' # This includes exit status, battery monitor, clock, and moon phase - RPROMPT="%{$fg_bold[red]%}%(0?..[%?])%{$reset_color%}$(battery_level_gauge) %T %(17T.$EMOJI[BEER_MUG].$(emoji-clock)) $(printmoon)" + RPROMPT='$(vi_mode_prompt_info) %{$fg_bold[red]%}%(0?..[%?])%{$reset_color%}$(battery_level_gauge) %T %(17T.$EMOJI[BEER_MUG].$(emoji-clock)) $(printmoon)' fi } -# Finally set the prompt setprompt