about summary refs log tree commit diff
path: root/Completion/Unix/Command/_su
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2016-06-18 00:07:39 +0200
committerOliver Kiddle <opk@zsh.org>2016-06-18 00:08:16 +0200
commitbce43df70d1b09d9480dca36e6dd2641facdb6f0 (patch)
tree31f26a95e8d5509ffa56a2f8dd2f939cc3bf6284 /Completion/Unix/Command/_su
parent4cacf1624f0393c43a9a2c3259957b8d78eb7609 (diff)
downloadzsh-bce43df70d1b09d9480dca36e6dd2641facdb6f0.tar.gz
zsh-bce43df70d1b09d9480dca36e6dd2641facdb6f0.tar.xz
zsh-bce43df70d1b09d9480dca36e6dd2641facdb6f0.zip
38703: support su options on macOS
Diffstat (limited to 'Completion/Unix/Command/_su')
-rw-r--r--Completion/Unix/Command/_su2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_su b/Completion/Unix/Command/_su
index 73b27ee90..900905632 100644
--- a/Completion/Unix/Command/_su
+++ b/Completion/Unix/Command/_su
@@ -25,7 +25,7 @@ case $OSTYPE in
     )
     first="(--help --version)${first#???}"
   ;;
-  *bsd*|dragonfly*)
+  *bsd*|darwin*|dragonfly*)
     args+=(
       '-c[use settings from specified login class]:class'
       '-f[if the invoked shell is csh, prevent it from reading .cshrc]'