From 8da652f6ae53990288690abc96f438f561f5af4c Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Tue, 1 May 2012 12:33:13 +0000 Subject: 30456: Completion/Unix/Command/_getconf: Use new array syntax. --- ChangeLog | 6 +++++- Completion/Unix/Command/_getconf | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 94e46debc..2cefa9894 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-05-01 Mikael Magnusson + + * 30456: Completion/Unix/Command/_getconf: Use new array syntax. + 2012-04-25 Peter Stephenson * 30455: NEWS, Src/params.c: remove max array length test. @@ -16250,5 +16254,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5643 $ +* $Revision: 1.5644 $ ***************************************************** diff --git a/Completion/Unix/Command/_getconf b/Completion/Unix/Command/_getconf index 76d9c7686..f2c713a52 100644 --- a/Completion/Unix/Command/_getconf +++ b/Completion/Unix/Command/_getconf @@ -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' \ -- cgit 1.4.1