1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +02:00
zsh/Completion/BSD/Command/_watch-snoop
Jun-ichi Takimoto bad4729281 43107: add an option to _ttys to complete only open ttys
Use the option in _ps and _watch-snoop
2018-07-01 22:41:15 +09:00

13 lines
396 B
Text

#autoload
# watch [-cinotW] [-f snpdev] [tty]
_arguments -w -S -s : \
"-c[reconnect on close]" \
"-f:snp(4) device: " \
"-i[force interactive mode even when stdout is not a tty]" \
"-n[disable the ability to switch the watched tty interactively]" \
"-o[reconnect on overflow]" \
"-t[print date and time at start]" \
"-W[allow write access to observed tty]" \
"(-): : _ttys -Do"