1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-25 05:10:28 +02:00

21846: _chmod was too greedy with initial arguments

This commit is contained in:
Peter Stephenson 2005-10-07 09:30:56 +00:00
parent 5ee38b811e
commit 1eaa7fee0d
2 changed files with 6 additions and 1 deletions

View file

@ -67,7 +67,7 @@ case "$state" in
local spec who op priv
local -a specs
for spec in ${(s:,:)words[2]}; do
if [[ ${spec#*[+-=]} != [rwxst]* ]]; then
if [[ ${spec#*[+-=]} != [rwxst]## ]]; then
_files && ret=0
return ret
fi