diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-10-07 09:30:56 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-10-07 09:30:56 +0000 |
commit | 1eaa7fee0d111b999c44385eb4fda1ad604e3606 (patch) | |
tree | a1dbf66868b4b5f2060361fe24c8c21c3913e351 /Completion | |
parent | 5ee38b811e4d3a5636edeef8d450424dce54caa8 (diff) | |
download | zsh-1eaa7fee0d111b999c44385eb4fda1ad604e3606.tar.gz zsh-1eaa7fee0d111b999c44385eb4fda1ad604e3606.tar.xz zsh-1eaa7fee0d111b999c44385eb4fda1ad604e3606.zip |
21846: _chmod was too greedy with initial arguments
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Unix/Command/_chmod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_chmod b/Completion/Unix/Command/_chmod index 1c0e7aadc..3df93fd64 100644 --- a/Completion/Unix/Command/_chmod +++ b/Completion/Unix/Command/_chmod @@ -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 |