diff options
Diffstat (limited to 'Completion/User/_users')
-rw-r--r-- | Completion/User/_users | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/User/_users b/Completion/User/_users index fdef36073..8ddfd8cd7 100644 --- a/Completion/User/_users +++ b/Completion/User/_users @@ -3,11 +3,11 @@ # If a parameter `users' exists and it is an array, we first try to # complete only to its elements. -local expl +local expl users _wanted users expl user || return 1 -[[ "${(t)users}" = *array* ]] && +_style -a users users users && compadd "$expl[@]" "$@" - "$users[@]" && return 0 compadd "$@" "$expl[@]" - "${(@k)userdirs}" |