about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_vared
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2001-04-03 21:13:10 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2001-04-03 21:13:10 +0000
commitda0179bfb22bff9f159e4a7c76e0f810e84d0b4a (patch)
tree480a029dcc96488a02deba49ae173310407f4761 /Completion/Zsh/Command/_vared
parent6150ef8696a3081772122743eb650d8449d4f7a3 (diff)
downloadzsh-da0179bfb22bff9f159e4a7c76e0f810e84d0b4a.tar.gz
zsh-da0179bfb22bff9f159e4a7c76e0f810e84d0b4a.tar.xz
zsh-da0179bfb22bff9f159e4a7c76e0f810e84d0b4a.zip
new completion functions
Diffstat (limited to 'Completion/Zsh/Command/_vared')
-rw-r--r--Completion/Zsh/Command/_vared12
1 files changed, 12 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_vared b/Completion/Zsh/Command/_vared
new file mode 100644
index 000000000..bb31cc129
--- /dev/null
+++ b/Completion/Zsh/Command/_vared
@@ -0,0 +1,12 @@
+#compdef vared
+
+_arguments -s -A "-*" \
+  '(-a)-A[edit associative array]' \
+  '(-A)-a[edit array parameter]' \
+  "-c[create parameter or change type]" \
+  '-p+[specify left prompt]:prompt' \
+  '-r+[specify right prompt]:right prompt' \
+  '-h[allow access to history]' \
+  '-e[exit on EOF (^D)]' \
+  '1:parameter spec:_vars'
+