From fc41f679caf1442d84b7f23ccef8a867f4ade104 Mon Sep 17 00:00:00 2001 From: Yan Pritzker Date: Fri, 16 Nov 2012 09:34:00 -0600 Subject: [PATCH] Fix skwp and kylewest themes - ensure git-info is on [Fix #213] --- zsh/prezto-themes/prompt_kylewest_setup | 1 + zsh/prezto-themes/prompt_skwp_setup | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/zsh/prezto-themes/prompt_kylewest_setup b/zsh/prezto-themes/prompt_kylewest_setup index 4d397d1..c67b5e4 100644 --- a/zsh/prezto-themes/prompt_kylewest_setup +++ b/zsh/prezto-themes/prompt_kylewest_setup @@ -15,6 +15,7 @@ function prompt_kylewest_precmd { # Get Git repository information. if (( $+functions[git-info] )); then + git-info on git-info fi diff --git a/zsh/prezto-themes/prompt_skwp_setup b/zsh/prezto-themes/prompt_skwp_setup index 4b47122..c45eb8a 100644 --- a/zsh/prezto-themes/prompt_skwp_setup +++ b/zsh/prezto-themes/prompt_skwp_setup @@ -18,6 +18,7 @@ function prompt_skwp_precmd { # Get Git repository information. if (( $+functions[git-info] )); then + git-info on git-info fi @@ -60,7 +61,7 @@ function prompt_skwp_setup { zstyle ':prezto:module:git:info:added' format "${__PROMPT_SKWP_COLORS[5]}●%f" zstyle ':prezto:module:git:info:deleted' format "${__PROMPT_SKWP_COLORS[2]}●%f" zstyle ':prezto:module:git:info:modified' format "${__PROMPT_SKWP_COLORS[4]}●%f" - zstyle ':prezto:module:git:info:untracked' format "${__PROMPT_SKWP_COLORS[5]}●%f" + zstyle ':prezto:module:git:info:untracked' format "${__PROMPT_SKWP_COLORS[3]}●%f" zstyle ':prezto:module:git:info:keys' format 'prompt' '(%b%d%a%m%u)' # ruby info (rvm, rbenv)