Commit 1c9d4a12 authored by Frank Terbeck's avatar Frank Terbeck

Load vcsup in the right place and configure it

parent a57b3ed1
......@@ -1790,7 +1790,6 @@ fi
### Pre-Cmd and -Exec Hooks (terminal title setting) #########################
if [[ -n ${functions[add-zsh-hook]} ]]; then
zrcautoload vcsupinit && vcsupinit
function screen_printf () {
# This should be pretty safe for most strings that are thrown at us.
local format esc
......@@ -2020,6 +2019,10 @@ fi
if (( ${+functions[vcs_info]} )); then
# Load vcsup addon.
zrcautoload vcsupinit && vcsupinit
zstyle ':vcsup:*' stack-auto-push true
zstyle ':vcsup:*' stack-no-dups true
zstyle ':vcs_info:*' max-exports 2
zstyle ':vcs_info:*' actionformats \
" %F{magenta}(%f%s%F{magenta})%F{yellow}-%F{magenta}[%F{green}%b%F{yellow}|%F{red}%a%F{magenta}]%f-" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment