mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 04:40:59 +01:00
27731: Frank: turn off WARN_CREATE_GLOBAL in VCS_INFO
This commit is contained in:
parent
5fbcf005b0
commit
8a0629c12b
2 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
||||||
|
2010-02-21 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||||
|
|
||||||
|
* Frank: 27731: Functions/VCS_Info/vcs_info: turn off
|
||||||
|
WARN_CREATE_GLOBAL.
|
||||||
|
|
||||||
2010-02-21 Clint Adams <clint@zsh.org>
|
2010-02-21 Clint Adams <clint@zsh.org>
|
||||||
|
|
||||||
* Michael Prokop: 27725: Completion/Debian/Command/_apt: apt
|
* Michael Prokop: 27725: Completion/Debian/Command/_apt: apt
|
||||||
|
|
@ -12793,5 +12798,5 @@
|
||||||
|
|
||||||
*****************************************************
|
*****************************************************
|
||||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||||
* $Revision: 1.4909 $
|
* $Revision: 1.4910 $
|
||||||
*****************************************************
|
*****************************************************
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ vcs_info_setsys
|
||||||
# and now, finally create the real vcs_info function
|
# and now, finally create the real vcs_info function
|
||||||
vcs_info () {
|
vcs_info () {
|
||||||
emulate -L zsh
|
emulate -L zsh
|
||||||
setopt extendedglob
|
setopt extendedglob NO_warn_create_global
|
||||||
|
|
||||||
[[ -r . ]] || return 0
|
[[ -r . ]] || return 0
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue