Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _du



"du --version" tries to display size of files in current directory on FreeBSD and Darwin.

Index: Completion/Unix/Command/_du
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_du,v
retrieving revision 1.1
diff -d -u -r1.1 _du
--- Completion/Unix/Command/_du 20 Aug 2003 10:41:52 -0000      1.1
+++ Completion/Unix/Command/_du 9 Mar 2005 03:08:45 -0000
@@ -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]' \


--
Motoi Washida



Messages sorted by: Reverse Date, Date, Thread, Author