about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2006-01-12 02:43:01 +0000
committerClint Adams <clint@users.sourceforge.net>2006-01-12 02:43:01 +0000
commit0d81c253ccde5ec63917fa554d344e28c9a0a42f (patch)
tree5161b1e36f9f56fc7770db989c5e7969b9d586b4
parent51296c6b81599c3e7c1b6efcbdabd2c42c69c3f9 (diff)
downloadzsh-0d81c253ccde5ec63917fa554d344e28c9a0a42f.tar.gz
zsh-0d81c253ccde5ec63917fa554d344e28c9a0a42f.tar.xz
zsh-0d81c253ccde5ec63917fa554d344e28c9a0a42f.zip
22153: completion for tpconfig.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Linux/Command/_tpconfig24
2 files changed, 29 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8948476aa..13a0c1bc2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-12  Clint Adams  <clint@zsh.org>
+
+	* 22153: Completion/Linux/Command/_tpconfig: completion
+	for tpconfig.
+
 2006-01-11  Wayne Davison  <wayned@users.sourceforge.net>
 
 	* unposted: zsh.h, prompt.c, utils.c, Zle/complist.c, Zle/compmatch.c,
diff --git a/Completion/Linux/Command/_tpconfig b/Completion/Linux/Command/_tpconfig
new file mode 100644
index 000000000..62f216107
--- /dev/null
+++ b/Completion/Linux/Command/_tpconfig
@@ -0,0 +1,24 @@
+#compdef tpconfig
+
+_arguments \
+  '--help' \
+  '(-D --debug)'{-D,--debug=}':debug level:(1 2 3)' \
+  '(-d --device)'{-d,--device=}':mouse device:_files' \
+  '--version' \
+  '(-i --info)'{-i,--info}'[display current touchpad config]' \
+  '(-x --reset)'{-x,--reset}'[perform a software reset on the touchpad]' \
+  '(-q --quiet --silent)'{-q,--quiet,--silent}'[suppress verbose output]' \
+  '-a::packet mode:(0 1)' \
+  '--absolute[set packet mode to absolute]' \
+  '--relative[set packet mode to relative]' \
+  '-r::reporting rate:(0 1)' \
+  '-t::tapping mode:(0 1 2 3)' \
+  '-s::sleep mode:(0 1)' \
+  '(-2 --two-button)'{-2,--two-button}'[set two-button mode]' \
+  '(-3 --three-button)'{-3,--three-button}'[set three-button mode]' \
+  '(-c --corner)'{-c,--corner=}'::corner-tap mode:(0 1)' \
+  '(-e --edgemode)'{-e,--edgemode=}'::edge motion:(0 1 3)' \
+  '-m[display which mouse button is simulated by corner taps]' \
+  '--middle-button[make corner taps simulate the middle mouse button]' \
+  '--right-button[make corner taps simulate the right mouse button]' \
+  '(-z --zthreshold)'{-z,--zthreshold=}'::tap sensitivity:'