aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorChristian Schulze <christian.schulze@gmail.com>2015-09-19 06:48:23 +0300
committerChristian Schulze <christian.schulze@gmail.com>2015-09-19 06:48:23 +0300
commit665ed59e6a52af358548539b3e2aacd9e1daa120 (patch)
treef9b66c3aaf5ef8b3a352fd8968ce9ca15a9ae2d2 /powerlevel9k.zsh-theme
parentc08a209e20060dda39a1d253eb7585ef4c2b4ac9 (diff)
$0 suffixes for color customization
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rw-r--r--powerlevel9k.zsh-theme4
1 files changed, 2 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 73335b60..825d51ab 100644
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -579,9 +579,9 @@ prompt_context() {
prompt_vi_mode() {
local mode="${${KEYMAP/vicmd/NORMAL}/(main|viins)/INSERT}"
if [[ "$mode" == "NORMAL" ]]; then
- $1_prompt_segment "$0" "$DEFAULT_COLOR" "default" "$mode"
+ $1_prompt_segment "$0_NORMAL" "$DEFAULT_COLOR" "default" "$mode"
else
- $1_prompt_segment "$0" "$DEFAULT_COLOR" "blue" "$mode"
+ $1_prompt_segment "$0_INSERT" "$DEFAULT_COLOR" "blue" "$mode"
fi
}