diff options
| author | Eric Cook <llua@gmx.com> | 2016-02-11 22:53:16 -0500 |
|---|---|---|
| committer | Eric Cook <illua@users.sourceforge.net> | 2016-02-11 22:53:16 -0500 |
| commit | 9cc6ebe7a2263e6697d497e95335369b06bec11b (patch) | |
| tree | 3c35b78e6defa49cfcce347e171ffd0d6cb85867 /Completion/Unix/Command/_tput | |
| parent | 37946: make rm * warnings more informative. (diff) | |
| download | zsh-9cc6ebe7a2263e6697d497e95335369b06bec11b.tar zsh-9cc6ebe7a2263e6697d497e95335369b06bec11b.tar.gz zsh-9cc6ebe7a2263e6697d497e95335369b06bec11b.tar.bz2 zsh-9cc6ebe7a2263e6697d497e95335369b06bec11b.tar.lz zsh-9cc6ebe7a2263e6697d497e95335369b06bec11b.tar.xz zsh-9cc6ebe7a2263e6697d497e95335369b06bec11b.tar.zst zsh-9cc6ebe7a2263e6697d497e95335369b06bec11b.zip | |
37913: add additional completers and _zpool improvement
Diffstat (limited to 'Completion/Unix/Command/_tput')
| -rw-r--r-- | Completion/Unix/Command/_tput | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_tput b/Completion/Unix/Command/_tput new file mode 100644 index 000000000..a3b4e949c --- /dev/null +++ b/Completion/Unix/Command/_tput @@ -0,0 +1,18 @@ +#compdef tput +local -a args + +case $OSTYPE in + *linux*) + args=( + - set1 + '-S[allows more than one capability per invocation of tput]' + - set2 + '-V[reports the version of ncurses used for tput]' + ) +esac + +_arguments : \ + $args - set3 \ + '(-S -V)-T+[terminal type]:terminal type:_terminals' \ + '1:terminal capabilities:( init reset longname ${(k)terminfo} )' \ + '*:capability parameters:{ [[ $words[1] != (init|reset|longname) ]] && _message parameter }' |
