about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:11:28 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:11:28 +0000
commite6ae573d6db11420262d28908b3486aa2926bbf0 (patch)
treefff9d24ecd9e4ae94d63f74dfe4a10d5395ba76b /Completion
parent439ed182744fea1ae1642f4a0dfeff8664b7cdf6 (diff)
downloadzsh-e6ae573d6db11420262d28908b3486aa2926bbf0.tar.gz
zsh-e6ae573d6db11420262d28908b3486aa2926bbf0.tar.xz
zsh-e6ae573d6db11420262d28908b3486aa2926bbf0.zip
moved from Completion/X/_x_name
Diffstat (limited to 'Completion')
-rw-r--r--Completion/X/Type/_x_name9
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/X/Type/_x_name b/Completion/X/Type/_x_name
new file mode 100644
index 000000000..38d4c26d3
--- /dev/null
+++ b/Completion/X/Type/_x_name
@@ -0,0 +1,9 @@
+#autoload
+
+local x="$argv[(I)-X]"
+
+if (( x )); then
+  _message -r "$argv[x + 1]"
+else
+  _message 'name'
+fi