#autoload # watch [-cinotW] [-f snpdev] [tty] # TODO: complete /dev/**/*(+isatty); the following also do so: # Unix/Command/_pgrep # Unix/Command/_gdb # Unix/Command/_qemu # Unix/Command/_ps # Unix/Command/_last # Unix/Type/_ps1234 _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: "