From 778382d8a86efc1bfc42cb91fc43ca127db073ea Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Thu, 26 Nov 2020 22:51:11 +0100 Subject: [PATCH] vim mode for zsh --- zsh/p10k.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh/p10k.zsh b/zsh/p10k.zsh index 5e3d901..70dd110 100644 --- a/zsh/p10k.zsh +++ b/zsh/p10k.zsh @@ -778,7 +778,7 @@ ##################################[ context: user@hostname ]################################## # Context color when running with privileges. - typeset -g POWERLEVEL9K_CONTEXT_ROOT_FOREGROUND=196 + typeset -g POWERLEVEL9K_CONTEXT_ROOT_FOREGROUND=9 # Context color in SSH without privileges. typeset -g POWERLEVEL9K_CONTEXT_{REMOTE,REMOTE_SUDO}_FOREGROUND= # Default context color (no privileges, no SSH). @@ -1524,7 +1524,7 @@ typeset -g POWERLEVEL9K_CONFIG_FILE=${${(%):-%x}:a} typeset -g POWERLEVEL9K_VI_INSERT_MODE_STRING= typeset -g POWERLEVEL9K_VI_COMMAND_MODE_STRING=COMMAND -typeset -g POWERLEVEL9K_VI_MODE_NORMAL_FOREGROUND=9 +typeset -g POWERLEVEL9K_VI_MODE_NORMAL_FOREGROUND=196 (( ${#p10k_config_opts} )) && setopt ${p10k_config_opts[@]} 'builtin' 'unset' 'p10k_config_opts'