zsh-workers
 help / color / mirror / code / Atom feed
* support more arguments to diff
@ 2018-04-16  5:48 Eitan Adler
  2018-04-16 14:59 ` Daniel Tameling
  0 siblings, 1 reply; 8+ messages in thread
From: Eitan Adler @ 2018-04-16  5:48 UTC (permalink / raw)
  To: Zsh hackers list

This patch isn't perfect since {Net,DragonFly,Open,Free}BSD are not
identical but this patch at leasts makes the completion a lot closer
to reality.

Currently FreeBSD doesn't even show -q for example.

diff --git i/Completion/Unix/Type/_diff_options
w/Completion/Unix/Type/_diff_options
index 55ddecd2a..e436d5cfe 100644
--- i/Completion/Unix/Type/_diff_options
+++ w/Completion/Unix/Type/_diff_options
@@ -148,7 +148,7 @@ else
         '-S+[set first file in comparison]:start with file:_files'
       )
     ;;
-    openbsd*)
+    dragonfly*|freebsd*|netbsd*|openbsd*)
       of+=' -n -q -u -C -D -U'
       args=(
         "($of)-n[produce an rcsdiff(1)-compatible diff]"

-- 
Eitan Adler


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

end of thread, other threads:[~2018-08-29 14:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-16  5:48 support more arguments to diff Eitan Adler
2018-04-16 14:59 ` Daniel Tameling
2018-04-17 11:22   ` Eitan Adler
2018-04-17 12:53     ` Matthew Martin
2018-04-18  0:37       ` Eitan Adler
2018-04-18  9:22         ` Oliver Kiddle
2018-04-18  9:36           ` Eitan Adler
2018-08-29 14:56     ` Oliver Kiddle

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).