Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
support more arguments to diff
- X-seq: zsh-workers 42655
- From: Eitan Adler <lists@xxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: support more arguments to diff
- Date: Sun, 15 Apr 2018 22:48:08 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:from:date:message-id:subject:to; bh=Ml5nnN8yNHKCJuJQwRArfRJX2yhpZGxmubnbJfAgC2o=; b=pvvi6wP9coA7ChOLJW5kI6TS3LlXAwR2+JlPEXhRJ5/cRxx8Hm/87uvadmNdhZGriX CiD51To3c5vlsHIUdnGOF5/oG8noqvhndiDXAS/gM5j8hjPts7QYF1HYScRxnpqBuQ1K vzE/UccF7y61wTJdfmH1RWOC0mBDVv9K4jB+M=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author