1## vim:ft=zsh 2## Written by Frank Terbeck <ft@bewatermyfriend.org> 3## Distributed under the same BSD-ish license as zsh itself. 4 5setopt localoptions noksharrays NO_shwordsplit 6local c v rr 7 8if [[ $1 == '-preinit-' ]] ; then 9 c='default' 10 v='-preinit-' 11 rr='-all-' 12fi 13zstyle -a ":vcs_info:${v:-$vcs}:${c:-$usercontext}:${rrn:-$rr}" nvcsformats msgs 14(( ${#msgs} > maxexports )) && msgs[${maxexports},-1]=() 15return 0 16