summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2018-04-05 20:31:28 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2018-04-05 20:31:28 +0900
commit4b13cda37bccda18a1a767aee597f05730d11c7c (patch)
tree78f92df1167b76ec2cb4f6d595a73f114666ff8d /Completion/Unix/Command
parent5dc36c40c322dcbdd9830e523810388c2ffea8a9 (diff)
downloadzsh-4b13cda37bccda18a1a767aee597f05730d11c7c.tar.gz
zsh-4b13cda37bccda18a1a767aee597f05730d11c7c.tar.xz
zsh-4b13cda37bccda18a1a767aee597f05730d11c7c.zip
42590: fix detection of OSTYPE in _fmt
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_fmt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_fmt b/Completion/Unix/Command/_fmt
index 87c7005b9..59d90ff83 100644
--- a/Completion/Unix/Command/_fmt
+++ b/Completion/Unix/Command/_fmt
@@ -7,7 +7,7 @@ local wopt="[specify maximum line width]:width [75]"
 local sopt="[don't join short lines\: split only]"
 
 args=( -A "-*" "(1 2)-w+$wopt" '*:file:_files' )
-_pick_variant -r variant gnu=GNU unix --version
+_pick_variant -r variant gnu=GNU $OSTYPE --version
 case $variant in
   gnu)
     args=(