Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion bug: chmod +rX
- X-seq: zsh-workers 21846
- From: Stephen Rueger <stephen.rueger@xxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: completion bug: chmod +rX
- Date: Fri, 7 Oct 2005 01:07:55 +0200
- In-reply-to: <20051006212902.GA19227@xxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20051006212902.GA19227@xxxxxxxxxxxxxxxxxxxxx>
On Thu, Oct 06, 2005 at 11:29:02PM +0200, Ignacy Gawedzki wrote:
> Has anyone any idea or suggestion?
This patch should do.
--- Completion/Unix/Command/_chmod.old 2005-10-07 00:46:41.000000000 +0200
+++ Completion/Unix/Command/_chmod 2005-10-07 00:49:34.000000000 +0200
@@ -67,7 +67,7 @@
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
--
Stephen Rüger
stephen.rueger@xxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author