about summary refs log tree commit diff
path: root/Completion/BSD
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2015-07-24 16:43:14 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2015-07-26 11:23:14 +0000
commitd470453d76a3ff0c4816752630bf70733cfbc8b5 (patch)
tree629c19d3ef9059a51c83a1568fe3ed1643327615 /Completion/BSD
parent679d52fcca727a6b9e4dddf63386580907e28f8c (diff)
downloadzsh-d470453d76a3ff0c4816752630bf70733cfbc8b5.tar.gz
zsh-d470453d76a3ff0c4816752630bf70733cfbc8b5.tar.xz
zsh-d470453d76a3ff0c4816752630bf70733cfbc8b5.zip
35274: completion: Add FreeBSD's watch(1)
Review-by: Oliver Kiddle
Diffstat (limited to 'Completion/BSD')
-rw-r--r--Completion/BSD/Command/_watch-snoop13
1 files changed, 13 insertions, 0 deletions
diff --git a/Completion/BSD/Command/_watch-snoop b/Completion/BSD/Command/_watch-snoop
new file mode 100644
index 000000000..182b6bb34
--- /dev/null
+++ b/Completion/BSD/Command/_watch-snoop
@@ -0,0 +1,13 @@
+#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]" \
+  ":tty device:_ttys -D"