1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-25 05:10:28 +02:00

30456: Completion/Unix/Command/_getconf: Use new array syntax.

This commit is contained in:
Mikael Magnusson 2012-05-01 12:33:13 +00:00
parent c335b7f0a1
commit 8da652f6ae
2 changed files with 6 additions and 2 deletions

View file

@ -27,7 +27,7 @@ if [[ CURRENT -eq 2 ]]; then
_tags syswideconfig pathconfig standardsconfig confstring restconfig
allkeys=(${${(f)"$(getconf -a 2>/dev/null)"}%%[: ]*})
restkeys=(${allkeys:#(${(j.|.)~mykeys})})
restkeys=(${allkeys:|mykeys})
while _tags; do
_requested -V syswideconfig expl 'systemwide configuration variables' \