about summary refs log tree commit diff
path: root/Completion/Unix/Command/_chown
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2001-08-06 15:54:02 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2001-08-06 15:54:02 +0000
commitd2f6a686c24bf660019d4912659353e526c93ba1 (patch)
treee8376ee0e7401b7f5392cef5684963dea466bcca /Completion/Unix/Command/_chown
parentab483ef55e06fdfe2091615979469bb9738970df (diff)
downloadzsh-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/_chown1
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