Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH]: _timeout: Add OpenBSD



OpenBSD imported NetBSD's timeout.


diff --git a/Completion/Unix/Command/_timeout b/Completion/Unix/Command/_timeout
index 223059e4d..2235fa5ec 100644
--- a/Completion/Unix/Command/_timeout
+++ b/Completion/Unix/Command/_timeout
@@ -2,8 +2,8 @@
 
 local args
 
-if [[ $service = g* || $OSTYPE != *(freebsd|netbsd)* ]]; then
-  # GNU coreutils or DFly as opposed to Free/NetBSD implementation
+if [[ $service = g* || $OSTYPE != *(freebsd|netbsd|openbsd)* ]]; then
+  # GNU coreutils or DFly as opposed to Free/Net/OpenBSD implementation
   args=(
     '(-v --verbose)'{-v,--verbose}'[indicate when signal is sent upon timeout]'
     '(- *)--help[display usage information]'




Messages sorted by: Reverse Date, Date, Thread, Author