diff options
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r-- | Completion/Unix/Command/_su | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_su b/Completion/Unix/Command/_su index daf301555..d8ed17183 100644 --- a/Completion/Unix/Command/_su +++ b/Completion/Unix/Command/_su @@ -16,7 +16,5 @@ fi shell="${${(M@)${(@f)$(</etc/passwd)}:#$usr*}##*:}" compset -n $base -for name in $shell $shell:t -default-; do - comp="$_comps[$name]" - [[ -n "$comp" ]] && "$comp" && return -done + +_contexts -o $shell $shell:t -default- |