From 0c3de591d3c90f555645dbde4aea4c800e18332d Mon Sep 17 00:00:00 2001 From: Motoi WASHIDA Date: Wed, 9 Mar 2005 03:35:41 +0000 Subject: 20953: "du --version" tries to display size of files in current directory on FreeBSD and Darwin. --- ChangeLog | 5 +++++ Completion/Unix/Command/_du | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 377856a77..c858ec58b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-03-09 Motoi Washida + + * 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 * 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]' \ -- cgit 1.4.1