From dd542fd9ce42db3eabaa9c914b14f1822457af9b Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Mon, 23 Feb 2009 00:51:38 +0100 Subject: [PATCH] Fix yet another bug in the shipped version of vcs_info() Triggered by the added format for screen title setting. *sigh* --- etc/zsh/zshrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index dd08dfb..cb911c1 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -1432,8 +1432,6 @@ VCS_INFO_formats () { # {{{ } # }}} VCS_INFO_maxexports () { #{{{ - local -ix maxexports - zstyle -s ":vcs_info:${vcs}:${usercontext}" "max-exports" maxexports || maxexports=2 if [[ ${maxexports} != <-> ]] || (( maxexports < 1 )); then printf 'vcs_info(): expecting numeric arg >= 1 for max-exports (got %s).\n' ${maxexports} @@ -1865,6 +1863,7 @@ vcs_info () { # {{{ local -i found local -a VCSs disabled dps local -x vcs usercontext + local -ix maxexports local -ax msgs local -Ax vcs_comm -- 2.1.4