mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-28 17:10:59 +01:00
35274: completion: Add FreeBSD's watch(1)
Review-by: Oliver Kiddle
This commit is contained in:
parent
679d52fcca
commit
d470453d76
3 changed files with 28 additions and 0 deletions
9
Completion/Unix/Command/_watch
Normal file
9
Completion/Unix/Command/_watch
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#compdef watch
|
||||
|
||||
# watch(1) has completely different semantics on freebsd compared to linux, hence:
|
||||
case $OSTYPE in
|
||||
(freebsd*|dragonfly*) _watch-snoop "$@";;
|
||||
(*) _default;;
|
||||
esac
|
||||
|
||||
# NOTREACHED
|
||||
Loading…
Add table
Add a link
Reference in a new issue