about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:19:05 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:19:05 +0000
commit321a050f36b8037220af343326f71e026e7ef45e (patch)
tree7f992bf1a5a26020e947443a218381ba281b2f72 /Completion
parent62cb8c5a63bfca6b28b0e27e126c6083fc8cbfbe (diff)
downloadzsh-321a050f36b8037220af343326f71e026e7ef45e.tar.gz
zsh-321a050f36b8037220af343326f71e026e7ef45e.tar.xz
zsh-321a050f36b8037220af343326f71e026e7ef45e.zip
moved to Completion/Zsh/Type/_vars
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Builtins/_vars25
1 files changed, 0 insertions, 25 deletions
diff --git a/Completion/Builtins/_vars b/Completion/Builtins/_vars
deleted file mode 100644
index dece0fecb..000000000
--- a/Completion/Builtins/_vars
+++ /dev/null
@@ -1,25 +0,0 @@
-#compdef getopts unset vared
-
-# This will handle completion of keys of associative arrays, e.g. at
-# `vared foo[<TAB>'.
-
-local ret=1
-
-if [[ $PREFIX = *\[* ]]; then
-  compstate[parameter]=${PREFIX%%(|\\)\[*}
-
-  IPREFIX=${PREFIX%%\[*}\[
-  PREFIX=${PREFIX#*\[}
-
-  _subscript -q
-else
-  _parameters -g '^a*' "$@" && ret=0
-  
-  if compset -S '\[*'; then
-    set - -S "" "$@"
-  else
-    set - -qS"${${QIPREFIX:+[}:-\[}" "$@"
-  fi
-  _parameters -g 'a*' "$@" && ret=0
-  return ret
-fi