diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_chmod | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index d8482d70a..b082f2c0f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-10-07 Peter Stephenson <pws@csr.com> + + * Stephen RĂ¼ger: 21846: Completion/Unix/Command/_chmod: too + greedy looking for r, w, x, s, t in initial arguments to chmod. + 2005-10-04 Bart Schaefer <schaefer@zsh.org> * 21822 (annotated): Src/Zle/complist.c: prevent a long-standing 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 |