about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:12:17 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:12:17 +0000
commit58151b5eb38eabfaddd24e170a833b384f2e0ea3 (patch)
tree4cc5d95d2e1e4b2e560bec562aac6cd9821f9540
parent18ea37634dfc39c06f56d6ca935f4e57e5080895 (diff)
downloadzsh-58151b5eb38eabfaddd24e170a833b384f2e0ea3.tar.gz
zsh-58151b5eb38eabfaddd24e170a833b384f2e0ea3.tar.xz
zsh-58151b5eb38eabfaddd24e170a833b384f2e0ea3.zip
moved from Completion/X/_x_title
-rw-r--r--Completion/X/Type/_x_title9
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/X/Type/_x_title b/Completion/X/Type/_x_title
new file mode 100644
index 000000000..fe2ab7b9f
--- /dev/null
+++ b/Completion/X/Type/_x_title
@@ -0,0 +1,9 @@
+#autoload
+
+local x="$argv[(I)-X]"
+
+if (( x )); then
+  _message -r "$argv[x + 1]"
+else
+  _message 'title'
+fi