Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion for limits
- X-seq: zsh-workers 6644
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: "'zsh-workers@xxxxxxxxxxxxxx'" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: Completion for limits
- Date: Tue, 15 Jun 1999 16:36:25 +0000
- In-reply-to: <4FBF540FF16FD1119D9600A0C94B2B51F29E87@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <4FBF540FF16FD1119D9600A0C94B2B51F29E87@xxxxxxxxxxxxxxxxxxx>
On Jun 15, 9:41am, Kiddle, Oliver wrote:
} Subject: Completion for limits
}
} The new-style completion for limits doesn't work anymore.
}
} ! compgen -k "(${(j: :)${(f)$(limit)}%% *})"
} --- 1,3 ----
} ! compgen -s '${${(f)"$(limit)"}%% *}'
Hrm. This must have been broken for a while ... even before the change
to handling of quotes within ${...}, that would have needed to be
compgen -k "(${(@j: :)${(f)$(limit)}%% *})"
Using `compgen -s ...' is going to re-evaluate $(limit) every time the
completion is performed. Is adding the @ a better choice?
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author