about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Martin <phy1729@gmail.com>2021-10-13 22:01:23 -0500
committerMatthew Martin <phy1729@gmail.com>2021-10-13 22:02:40 -0500
commit713588e2350ef2257f2f8a934041832234876b92 (patch)
tree4ae276370d73cbfd49f57fca19bfd5e2bb2309f6
parenta18348b89726285863637fb5dc0833314906b6d2 (diff)
downloadzsh-713588e2350ef2257f2f8a934041832234876b92.tar.gz
zsh-713588e2350ef2257f2f8a934041832234876b92.tar.xz
zsh-713588e2350ef2257f2f8a934041832234876b92.zip
49441: _timeout: Add OpenBSD
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Unix/Command/_timeout4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 817379927..81d8c699e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2021-10-13  Matthew Martin  <phy1729@gmail.com>
+
+	* 49441: Completion/Unix/Command/_timeout: Add OpenBSD.
+
 2021-10-11  Jun-ichi Takimoto  <takimoto-j@kba.biglobe.ne.jp>
 
 	* 49464: Completion/Linux/Command/_basenc: new completion
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]'