Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[patch] Few OpenBSD updates
- X-seq: zsh-workers 42309
- From: Matthew Martin <phy1729@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [patch] Few OpenBSD updates
- Date: Sat, 20 Jan 2018 22:38:41 -0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-disposition:user-agent; bh=MgqHQzaoL+UXfVLwiUmJX/0gA4auO8urYwym47Sz4Zc=; b=BHB+klbMWBZEHL3IntPQ8h1VgRITOsDzEo+o93HVtGl2uMgPN82LXAE85A7XGYcrjC rrLLW2Wf7Qgm2Uawn6DS+Ms2bEXOoqCxFdYNV7NioYJJXhU4NYeSDoJQNXYMrdESGj0x vHl/ZrZfp2vnP8w3WP22ObkLNp++nTd3p4Bc8jCX5lClv0EdMnD7WQgOpLplF+gQTocF rKEiuLVuO8qYRkPbmJ8nWnER10EOldhpKu5wVY9l7CgtlNO/GQmuWhotEo4z8+eoixho JD8KahQypP2hoDWmIVkOBay5qkS7FI4bnukx4JlccgcaQxgQ1V4adtGy8ih9QmdNbQKq h4Lg==
- 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>
- Mail-followup-to: zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
A few small updates for OpenBSD.
- Matthew Martin
diff --git a/Completion/Unix/Command/_dhclient b/Completion/Unix/Command/_dhclient
index af38a28e6..b5889df21 100644
--- a/Completion/Unix/Command/_dhclient
+++ b/Completion/Unix/Command/_dhclient
@@ -20,6 +20,7 @@ case $OSTYPE in
args+=(
'-i+[ignore values provided by leases for specified options]:options'
'-L+[specify file to write option data too]:file:_files'
+ "-n[don't configure any interfaces]"
)
;;
*) # ISC implementation, used on Linux and NetBSD
diff --git a/Completion/Unix/Command/_id b/Completion/Unix/Command/_id
index 95580ba76..a0a03faad 100644
--- a/Completion/Unix/Command/_id
+++ b/Completion/Unix/Command/_id
@@ -32,7 +32,11 @@ else
)
;;
openbsd*)
- args+=( '(-)-R[display the routing table of the current process]' )
+ args+=(
+ '(-)-c[display the login class]'
+ '(-)-p[make the output human readable]'
+ '(-)-R[display the routing table of the current process]'
+ )
;;
darwin*|dragonfly*|freebsd*)
args+=( '(-)-P[print id in the form of a password file entry]' )
diff --git a/Completion/Unix/Command/_install b/Completion/Unix/Command/_install
index 25d9dfcaa..f5056b5d0 100644
--- a/Completion/Unix/Command/_install
+++ b/Completion/Unix/Command/_install
@@ -48,13 +48,13 @@ else
'-L+[use user/group database files from specified directory]: :_directories'
'-l[fall back to system files if user/group not found in -L directory]'
)
- [[ $OSTYPE == netbsd* ]] && {
- args+=(
- '-a+[specify shell command to run on files after install]:shell command'
- '-r[use temporary files to perform safe copy]'
- '-S+[specify arguments to pass to strip program]:arguments to strip program'
- )
- # NetBSD has no -v for some reason
+ [[ $OSTYPE == netbsd* ]] && args+=(
+ '-a+[specify shell command to run on files after install]:shell command'
+ '-r[use temporary files to perform safe copy]'
+ '-S+[specify arguments to pass to strip program]:arguments to strip program'
+ )
+ [[ $OSTYPE == (net|open)bsd* ]] && {
+ # (Net|Open)BSD has no -v for some reason
args=( ${args##((#s)|*\))(\*|)-v*} )
}
[[ $OSTYPE == openbsd* ]] && args+=(
Messages sorted by:
Reverse Date,
Date,
Thread,
Author