diff --git a/.oh-my-zsh/themes/bureau.zsh-theme b/.oh-my-zsh/themes/bureau.zsh-theme index 3b3bdc8..5c11a78 100644 --- a/.oh-my-zsh/themes/bureau.zsh-theme +++ b/.oh-my-zsh/themes/bureau.zsh-theme @@ -115,9 +115,16 @@ bureau_precmd () { print -rP "$_1LEFT$_1SPACES$_1RIGHT" } +function _vi_status() { + if {echo $fpath | grep -q "plugins/vi-mode"}; then + echo "$(vi_mode_prompt_info)" + fi +} +MODE_INDICATOR="%{$fg_bold[yellow]%}❮%{$reset_color%}%{$fg[yellow]%}❮❮%{$reset_color%}" + setopt prompt_subst PROMPT='> $_LIBERTY ' -RPROMPT='$(nvm_prompt_info) $(bureau_git_prompt)' +RPROMPT='$(_vi_status) $(nvm_prompt_info) $(bureau_git_prompt)' autoload -U add-zsh-hook add-zsh-hook precmd bureau_precmd