mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-01 21:51:40 +02:00
42309: A few small updates for OpenBSD
This commit is contained in:
parent
12704997a3
commit
b5572f9037
4 changed files with 19 additions and 8 deletions
|
@ -1,3 +1,9 @@
|
|||
2018-01-23 Oliver Kiddle <okiddle@yahoo.co.uk>
|
||||
|
||||
* Matthew Martin: 42309: Completion/Unix/Command/_dhclient,
|
||||
Completion/Unix/Command/_id, Completion/Unix/Command/_install:
|
||||
A few small updates for OpenBSD
|
||||
|
||||
2018-01-22 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* Daniel Tamelin: 42305: INSTALL: CVS should be git.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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]' )
|
||||
|
|
|
@ -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+=(
|
||||
|
|
Loading…
Reference in a new issue