zsh-workers
 help / color / mirror / code / Atom feed
* du completion broken on FreeBSD
@ 2015-06-14 21:28 Baptiste Daroussin
  2015-06-14 21:45 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Baptiste Daroussin @ 2015-06-14 21:28 UTC (permalink / raw)
  To: Zsh workers

Hi,

Since 5.0.8 I have notice that du is broken on freebsd (keep proposing
options but never to complete any files)

Right now I have no time to look at the function code, I may be able
in a couple of days, but maybe that will ring a bell to someone before
I find time to dig.

Best regards,
Bapt


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: du completion broken on FreeBSD
  2015-06-14 21:28 du completion broken on FreeBSD Baptiste Daroussin
@ 2015-06-14 21:45 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2015-06-14 21:45 UTC (permalink / raw)
  To: Zsh workers

On Jun 14, 11:28pm, Baptiste Daroussin wrote:
}
} Since 5.0.8 I have notice that du is broken on freebsd (keep proposing
} options but never to complete any files)

Something got lost in workers/33485.


diff --git a/Completion/Unix/Command/_du b/Completion/Unix/Command/_du
index d8871cd..4065a20 100644
--- a/Completion/Unix/Command/_du
+++ b/Completion/Unix/Command/_du
@@ -74,5 +74,5 @@ else
   do
     [[ $OSTYPE = $~pattern ]] && args+=( $arg )
   done
-  _arguments -s -A "-*" $args
+  _arguments -s -A "-*" $args '*:file:_files'
 fi


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-14 21:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-14 21:28 du completion broken on FreeBSD Baptiste Daroussin
2015-06-14 21:45 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).