mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-24 04:50:27 +02:00
28961: Add `no-vcs' hook.
This commit is contained in:
parent
abe0ee3936
commit
7c50fa1262
3 changed files with 10 additions and 1 deletions
|
|
@ -16,6 +16,7 @@ if [[ $1 == '--nvcs' ]] ; then
|
|||
typeset -gx vcs_info_msg_${i}_=
|
||||
done
|
||||
VCS_INFO_nvcsformats $2
|
||||
[[ $2 != '-preinit-' ]] && VCS_INFO_hook "no-vcs"
|
||||
fi
|
||||
|
||||
(( ${#msgs} - 1 < 0 )) && return 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue