Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _files with match-specs
- X-seq: zsh-users 20185
- From: Eric Cook <llua@xxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: _files with match-specs
- Date: Wed, 06 May 2015 22:39:12 -0400
- In-reply-to: <20150507004844.GB1983@tarsus.local2>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <55498F16.60402@gmx.com> <20150507004844.GB1983@tarsus.local2>
On 05/06/2015 08:48 PM, Daniel Shahaf wrote:
>> If so, how should I go about completing filenames, ignoring a possible
>> leading + character?
>
> '_f() { compset -P +; _files }', perhaps?
>
> Daniel
>
Ah, I forgot about compset. That works for the use case that I had.
Thank you.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author