summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Unix/Command/_su2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2ac9ceb63..26cf8861a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-06-18 Oliver Kiddle <opk@zsh.org>
+
+ * 38703: Completion/Unix/Command/_su: support su options on macOS
+
2016-06-16 Peter Stephenson <p.stephenson@samsung.com>
* 38693: Doc/Zsh/contrib.yo, Functions/Misc/zcalc,
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]'