about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMotoi WASHIDA <wm3@users.sourceforge.net>2005-03-09 03:35:41 +0000
committerMotoi WASHIDA <wm3@users.sourceforge.net>2005-03-09 03:35:41 +0000
commit0c3de591d3c90f555645dbde4aea4c800e18332d (patch)
treef180c317c77c9e16805b6932ed9534c5c385b1cc
parent1f9166d4e1e666248efd5d6f0f44a97bf226c281 (diff)
downloadzsh-0c3de591d3c90f555645dbde4aea4c800e18332d.tar.gz
zsh-0c3de591d3c90f555645dbde4aea4c800e18332d.tar.xz
zsh-0c3de591d3c90f555645dbde4aea4c800e18332d.zip
20953: "du --version" tries to display size of files in current directory on FreeBSD and Darwin.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_du2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 377856a77..c858ec58b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-09  Motoi Washida  <a66@h8.dion.ne.jp>
+
+	* 20953: Completion/Unix/Command/_du: "du --version" tries to
+	display size of files in current directory on FreeBSD and Darwin.
+
 2005-03-09  Clint Adams  <clint@zsh.org>
 
 	* 20951: Completion/Unix/Command/_baz: fix version detection
diff --git a/Completion/Unix/Command/_du b/Completion/Unix/Command/_du
index 167fc9895..0486cac7c 100644
--- a/Completion/Unix/Command/_du
+++ b/Completion/Unix/Command/_du
@@ -1,6 +1,6 @@
 #compdef du
 
-if _pick_variant gnu=Free\ Soft unix --version; then
+if _pick_variant gnu=Free\ Soft unix --version /dummy/no-such-file; then
   _arguments -s \
     '(-a --all -s --summarize)'{-a,--all}'[write counts for all files]' \
     '--apparent-size[print apparent sizes rather than disc usage]' \