about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-10 13:57:42 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-10 13:57:42 +0000
commitff716aaa840fb9a9b5f29217150ddf3d587edbb6 (patch)
tree572a7bb40669cbbb2eed2f55c974dc39b4b2a565
parentfaf96f977fc54e88666db71108df8d793fedb8e1 (diff)
downloadzsh-ff716aaa840fb9a9b5f29217150ddf3d587edbb6.tar.gz
zsh-ff716aaa840fb9a9b5f29217150ddf3d587edbb6.tar.xz
zsh-ff716aaa840fb9a9b5f29217150ddf3d587edbb6.zip
manual/9654
-rw-r--r--Completion/User/_diff_options4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/User/_diff_options b/Completion/User/_diff_options
index 3b60153b0..dd3d8bbe7 100644
--- a/Completion/User/_diff_options
+++ b/Completion/User/_diff_options
@@ -3,8 +3,8 @@
 local of ofwuc ouc oss ofwy ofwg ofwl
 
 (( $+_diff_is_gnu )) || {
-	_diff_is_gnu=0;
-        [[ $(command diff -v </dev/null) == *GNU* ]] && _diff_is_gnu=1
+	_diff_is_gnu=0
+        [[ $(command diff -v >/dev/null 2>&1) == *GNU* ]] && _diff_is_gnu=1
 }
 
 if (( _diff_is_gnu ))