From 1eaa7fee0d111b999c44385eb4fda1ad604e3606 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 7 Oct 2005 09:30:56 +0000 Subject: 21846: _chmod was too greedy with initial arguments --- Completion/Unix/Command/_chmod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix/Command') 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 -- cgit v1.2.3