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