summary refs log tree commit diff
path: root/Completion/User/_users
blob: dce0fd584986a18cc436c92821613e700390d855 (plain) (blame)
1
2
3
4
5
6
7
8
#compdef last passwd groups

local expl users

zstyle -a ":completion:${curcontext}:" users users &&
    _wanted users expl user compadd "$@" - "$users[@]" && return 0

_wanted users expl user compadd "$@" - "${(@k)userdirs}"