Fix skwp and kylewest themes - ensure git-info is on [Fix #213]
This commit is contained in:
parent
a8d3e50847
commit
fc41f679ca
@ -15,6 +15,7 @@ function prompt_kylewest_precmd {
|
||||
|
||||
# Get Git repository information.
|
||||
if (( $+functions[git-info] )); then
|
||||
git-info on
|
||||
git-info
|
||||
fi
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user