diff options
author | Oliver Kiddle <opk@zsh.org> | 2017-10-11 01:24:01 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2017-10-11 01:24:01 +0200 |
commit | 61b544a06832eb29035fb95a6bd942f77881300a (patch) | |
tree | 1f3d7051a8ea41b7a8320063e6454e461104384d /Completion/Unix/Command/_id | |
parent | a8c2b908107fb658e3859ce8f3d61f2c31354227 (diff) | |
download | zsh-61b544a06832eb29035fb95a6bd942f77881300a.tar.gz zsh-61b544a06832eb29035fb95a6bd942f77881300a.tar.xz zsh-61b544a06832eb29035fb95a6bd942f77881300a.zip |
41855: completion option updates for OpenBSD 6.2 and handle macOS in rm completion
Diffstat (limited to 'Completion/Unix/Command/_id')
-rw-r--r-- | Completion/Unix/Command/_id | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_id b/Completion/Unix/Command/_id index 74fe6d9e1..95580ba76 100644 --- a/Completion/Unix/Command/_id +++ b/Completion/Unix/Command/_id @@ -16,7 +16,7 @@ if _pick_variant gnu=GNU $OSTYPE --version; then '(- :)--version[display version]' \ ':user:_users' else - choices="-A -a -c -G -g -M -p -P -u" + choices="-A -a -c -G -g -M -p -P -R -u" args=( "($choices)-g[print only EGID]" "($choices -r)-G[print all GIDs]" @@ -31,6 +31,9 @@ else '(-g -G -u -n -r)-p[show project membership]' ) ;; + openbsd*) + args+=( '(-)-R[display the routing table of the current process]' ) + ;; darwin*|dragonfly*|freebsd*) args+=( '(-)-P[print id in the form of a password file entry]' ) ;| |