zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <opk@zsh.org>
To: Zsh workers <zsh-workers@zsh.org>
Subject: PATCH: update completions for DragonflyBSD
Date: Mon, 08 Feb 2021 00:03:23 +0100	[thread overview]
Message-ID: <48591-1612739003.196808@-ce-.aLy3.hRsL> (raw)

I know it'd be more widely useful to update for, e.g. macOS but I'd hope
someone else might want to do that. I have enough access to macs to have
captured diffs on help output up to 11.2 and if someone wants, I'd be
happy to send them if that's easier than making sense of the git repo.

This is current up to Dragonfly 5.8.3. Given cross-pollination of
changes between BSDs, these tend not to be too much effort to pick up.

Oliver

diff --git a/Completion/Unix/Command/_date b/Completion/Unix/Command/_date
index 68bd357fb..dc447e06d 100644
--- a/Completion/Unix/Command/_date
+++ b/Completion/Unix/Command/_date
@@ -60,10 +60,14 @@ else
       )
     ;|
     freebsd*|dragonfly*|darwin*)
+      args+=(
+	"*-v+[adjust and print (but don't set) date]:[+-]value[ymwdHMS]"
+      )
+    ;|
+    freebsd*|darwin*)
       args+=(
 	'-d+:daylight saving time value'
 	'-t+:minutes west of GMT'
-	"*-v+[adjust and print (but don't set) date]:[+-]value[ymwdHMS]"
       )
     ;|
     freebsd*|dragonfly*)
diff --git a/Completion/Unix/Command/_xargs b/Completion/Unix/Command/_xargs
index f21784ef1..8e23a04bb 100644
--- a/Completion/Unix/Command/_xargs
+++ b/Completion/Unix/Command/_xargs
@@ -25,7 +25,7 @@ case $variant in
       '-R[specify maximum arguments that -I will replace in]:replacements'
     )
   ;|
-  freebsd*|netbsd*)
+  freebsd*|netbsd*|dragonfly*)
     args+=(
       '-S[space that -I can use for replacements]:size (bytes) [255]'
     )



                 reply	other threads:[~2021-02-07 23:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48591-1612739003.196808@-ce-.aLy3.hRsL \
    --to=opk@zsh.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).