about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2012-05-01 12:33:13 +0000
committerMikael Magnusson <mikachu@gmail.com>2012-05-01 12:33:13 +0000
commit8da652f6ae53990288690abc96f438f561f5af4c (patch)
tree5982e0cd72f1c0b91829051f73b92492ca68088c /Completion
parentc335b7f0a11d8af8035fc49a743d9dea92766342 (diff)
downloadzsh-8da652f6ae53990288690abc96f438f561f5af4c.tar.gz
zsh-8da652f6ae53990288690abc96f438f561f5af4c.tar.xz
zsh-8da652f6ae53990288690abc96f438f561f5af4c.zip
30456: Completion/Unix/Command/_getconf: Use new array syntax.
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_getconf2
1 files changed, 1 insertions, 1 deletions
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' \