mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +02:00
22153: completion for tpconfig.
This commit is contained in:
parent
51296c6b81
commit
0d81c253cc
2 changed files with 29 additions and 0 deletions
|
@ -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,
|
||||
|
|
24
Completion/Linux/Command/_tpconfig
Normal file
24
Completion/Linux/Command/_tpconfig
Normal file
|
@ -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:'
|
Loading…
Reference in a new issue