summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]' \