zsh-workers
 help / color / mirror / 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

zsh-workers

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/zsh-workers

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 zsh-workers zsh-workers/ http://inbox.vuxu.org/zsh-workers \
		zsh-workers@zsh.org
	public-inbox-index zsh-workers

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.workers


code repositories for the project(s) associated with this inbox:

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

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git