diff options
author | Oliver Kiddle <opk@zsh.org> | 2021-02-06 00:22:15 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2021-02-06 00:23:20 +0100 |
commit | 4bea58d0c41f5b0d1bb70244c51f956f60b576e4 (patch) | |
tree | 27bd62865edadeaf3727e5642c05aaa1a260d270 /Completion/Unix/Command/_su | |
parent | ba48357315b3ceadee352e3c97ccac6a47e46ef4 (diff) | |
download | zsh-4bea58d0c41f5b0d1bb70244c51f956f60b576e4.tar.gz zsh-4bea58d0c41f5b0d1bb70244c51f956f60b576e4.tar.xz zsh-4bea58d0c41f5b0d1bb70244c51f956f60b576e4.zip |
47919: use common function for completing BSD login classes
also update for options to env on FreeBSD and Dragonfly
Diffstat (limited to 'Completion/Unix/Command/_su')
-rw-r--r-- | Completion/Unix/Command/_su | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_su b/Completion/Unix/Command/_su index 066f5c3b6..1af751a17 100644 --- a/Completion/Unix/Command/_su +++ b/Completion/Unix/Command/_su @@ -35,7 +35,7 @@ case $OSTYPE in ;| *bsd*|dragonfly*) args+=( - '-c+[use settings from specified login class]:class' + '-c+[use settings from specified login class]:class:_login_classes' ) ;| freebsd*) args+=( '-s[set the MAC label]' ) ;; |