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:
parent
5ee38b811e
commit
1eaa7fee0d
2 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue