zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: update completions for DragonflyBSD
@ 2021-02-07 23:03 Oliver Kiddle
  0 siblings, 0 replies; only message in thread
From: Oliver Kiddle @ 2021-02-07 23:03 UTC (permalink / raw)
  To: Zsh workers

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]'
     )



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-07 23:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-07 23:03 PATCH: update completions for DragonflyBSD 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).