mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 04:40:59 +01:00
30456: Completion/Unix/Command/_getconf: Use new array syntax.
This commit is contained in:
parent
c335b7f0a1
commit
8da652f6ae
2 changed files with 6 additions and 2 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
2012-05-01 Mikael Magnusson <mikachu@gmail.com>
|
||||||
|
|
||||||
|
* 30456: Completion/Unix/Command/_getconf: Use new array syntax.
|
||||||
|
|
||||||
2012-04-25 Peter Stephenson <pws@csr.com>
|
2012-04-25 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
* 30455: NEWS, Src/params.c: remove max array length test.
|
* 30455: NEWS, Src/params.c: remove max array length test.
|
||||||
|
|
@ -16250,5 +16254,5 @@
|
||||||
|
|
||||||
*****************************************************
|
*****************************************************
|
||||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||||
* $Revision: 1.5643 $
|
* $Revision: 1.5644 $
|
||||||
*****************************************************
|
*****************************************************
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ if [[ CURRENT -eq 2 ]]; then
|
||||||
_tags syswideconfig pathconfig standardsconfig confstring restconfig
|
_tags syswideconfig pathconfig standardsconfig confstring restconfig
|
||||||
|
|
||||||
allkeys=(${${(f)"$(getconf -a 2>/dev/null)"}%%[: ]*})
|
allkeys=(${${(f)"$(getconf -a 2>/dev/null)"}%%[: ]*})
|
||||||
restkeys=(${allkeys:#(${(j.|.)~mykeys})})
|
restkeys=(${allkeys:|mykeys})
|
||||||
|
|
||||||
while _tags; do
|
while _tags; do
|
||||||
_requested -V syswideconfig expl 'systemwide configuration variables' \
|
_requested -V syswideconfig expl 'systemwide configuration variables' \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue