From 7356e9c1418ec02f12dd8e342466e53067a5d9ec Mon Sep 17 00:00:00 2001 From: Ben Hilburn Date: Mon, 17 Feb 2014 17:36:25 -0800 Subject: [PATCH] Adding mbant's addition for vi-mode information to RPROMPT of hokietux theme. --- hokietux.zsh-theme | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hokietux.zsh-theme b/hokietux.zsh-theme index 9f7b805..c3776d5 100644 --- a/hokietux.zsh-theme +++ b/hokietux.zsh-theme @@ -27,6 +27,8 @@ ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[magenta]%} ➜" ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[yellow]%} ═" ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[cyan]%} ✭" +MODE_INDICATOR="--NORMAL--" + PROMPT='[%{$fg_bold[green]%}%~%{$fg_no_bold[white]%}]%{$fg_bold[red]%}➜$(git_prompt_info)%{$reset_color%}$(git_prompt_status)%{$reset_color%} $ ' -RPROMPT='${return_code}[%{$fg_no_bold[yellow]%}%h%{$reset_color%}][%*]' +RPROMPT='$(vi_mode_prompt_info)${return_code}[%{$fg_no_bold[yellow]%}%h%{$reset_color%}][%*]'