From d470453d76a3ff0c4816752630bf70733cfbc8b5 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Fri, 24 Jul 2015 16:43:14 +0000 Subject: 35274: completion: Add FreeBSD's watch(1) Review-by: Oliver Kiddle --- Completion/Unix/Command/_watch | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Completion/Unix/Command/_watch (limited to 'Completion/Unix/Command') 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 -- cgit 1.4.1