diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2001-08-06 15:54:02 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2001-08-06 15:54:02 +0000 |
commit | d2f6a686c24bf660019d4912659353e526c93ba1 (patch) | |
tree | e8376ee0e7401b7f5392cef5684963dea466bcca /Completion/Unix/Command/_chown | |
parent | ab483ef55e06fdfe2091615979469bb9738970df (diff) | |
download | zsh-d2f6a686c24bf660019d4912659353e526c93ba1.tar.gz zsh-d2f6a686c24bf660019d4912659353e526c93ba1.tar.xz zsh-d2f6a686c24bf660019d4912659353e526c93ba1.zip |
new BSD completion and fix _chown for symlinks (15562)
Diffstat (limited to 'Completion/Unix/Command/_chown')
-rw-r--r-- | Completion/Unix/Command/_chown | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_chown b/Completion/Unix/Command/_chown index 34b31f6c9..f5ff8f45e 100644 --- a/Completion/Unix/Command/_chown +++ b/Completion/Unix/Command/_chown @@ -28,6 +28,7 @@ else [[ -n $grp ]] && grp="${${(M)grp:#[0-9]#}:-.$grp.}" req=( ${usr:+\^u$usr} ${grp:+\^g$grp} ) (( EUID )) && req=( u$EUID$^req ) + req=( -$^req ) _files -g "*(${(j:,:)req})" && return 0 fi |