diff options
| author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2015-07-24 16:43:14 +0000 |
|---|---|---|
| committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2015-07-26 11:23:14 +0000 |
| commit | d470453d76a3ff0c4816752630bf70733cfbc8b5 (patch) | |
| tree | 629c19d3ef9059a51c83a1568fe3ed1643327615 /Completion/Unix | |
| parent | 35901: complete full names as removing later components was broken for aliase... (diff) | |
| download | zsh-d470453d76a3ff0c4816752630bf70733cfbc8b5.tar zsh-d470453d76a3ff0c4816752630bf70733cfbc8b5.tar.gz zsh-d470453d76a3ff0c4816752630bf70733cfbc8b5.tar.bz2 zsh-d470453d76a3ff0c4816752630bf70733cfbc8b5.tar.lz zsh-d470453d76a3ff0c4816752630bf70733cfbc8b5.tar.xz zsh-d470453d76a3ff0c4816752630bf70733cfbc8b5.tar.zst zsh-d470453d76a3ff0c4816752630bf70733cfbc8b5.zip | |
35274: completion: Add FreeBSD's watch(1)
Review-by: Oliver Kiddle
Diffstat (limited to 'Completion/Unix')
| -rw-r--r-- | Completion/Unix/Command/_watch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_watch b/Completion/Unix/Command/_watch new file mode 100644 index 000000000..a8d29403f --- /dev/null +++ b/Completion/Unix/Command/_watch @@ -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 |
