mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 10:21:46 +02:00
moved to Completion/Unix/Command/_chown
This commit is contained in:
parent
10a29645fc
commit
20d4d6cf12
1 changed files with 0 additions and 19 deletions
|
@ -1,19 +0,0 @@
|
|||
#compdef chown chgrp
|
||||
|
||||
local suf
|
||||
|
||||
if [[ CURRENT -eq 2 || CURRENT -eq 3 && $words[CURRENT-1] = -* ]]; then
|
||||
if [[ $service = chgrp ]] || compset -P '*[:.]'; then
|
||||
_groups
|
||||
else
|
||||
if [[ $OSTYPE = (solaris*|hpux*) ]]; then
|
||||
suf=':'
|
||||
else
|
||||
suf='.'
|
||||
fi
|
||||
compset -S '.*' && unset suf
|
||||
_users -S "$suf" -q
|
||||
fi
|
||||
else
|
||||
_files
|
||||
fi
|
Loading…
Reference in a new issue