aboutsummaryrefslogtreecommitdiff
path: root/Completion/Unix/Type/_users
blob: 3c8c7027b6c4d7df448d8af688d61ac8923fe8c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#compdef passwd groups userdel chage chfn

local expl users

if zstyle -a ":completion:${curcontext}:users" users users; then
    _wanted users expl user compadd "$@" -a - users
    return 0
fi

_wanted users expl user compadd "$@" -k - userdirs