about summary refs log tree commit diff
path: root/Completion/X/Type
diff options
context:
space:
mode:
authorPaul Ackersviller <packersv@users.sourceforge.net>2007-05-02 03:46:28 +0000
committerPaul Ackersviller <packersv@users.sourceforge.net>2007-05-02 03:46:28 +0000
commit2598e0995abf3d3fadc226cbc282f25bfe8e6521 (patch)
treec26795f3890d32ad638e34030e83081603bb1cc7 /Completion/X/Type
parent6a9a6a4fbce997fe53c6886791e5af794d79fd2f (diff)
downloadzsh-2598e0995abf3d3fadc226cbc282f25bfe8e6521.tar.gz
zsh-2598e0995abf3d3fadc226cbc282f25bfe8e6521.tar.xz
zsh-2598e0995abf3d3fadc226cbc282f25bfe8e6521.zip
Merge of workers/{21302,21306,21310}.
Diffstat (limited to 'Completion/X/Type')
-rw-r--r--Completion/X/Type/_x_visual10
1 files changed, 10 insertions, 0 deletions
diff --git a/Completion/X/Type/_x_visual b/Completion/X/Type/_x_visual
new file mode 100644
index 000000000..b28208444
--- /dev/null
+++ b/Completion/X/Type/_x_visual
@@ -0,0 +1,10 @@
+#autoload
+
+local expl
+
+# with the -b option, include `Best' in the matches
+local best="${argv[(r)-b]:+Best}"
+argv[(i)-b]=()
+
+_wanted visuals expl visual compadd "$@" -M 'm:{a-zA-Z}={A-Za-z}' - \
+    $best DirectColor TrueColor PseudoColor StaticColor GrayScale StaticGray