Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 'ignore-line yes' style semantics?
- X-seq: zsh-users 16004
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Ole Jørgen Brønner <olejorgenb@xxxxxxxx>
- Subject: Re: 'ignore-line yes' style semantics?
- Date: Sun, 8 May 2011 22:09:13 +0200
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3bClMKxzs15TKZvW6Rq/l+9Yv7qKt5KnZp9d8SGca6s=; b=bxJ7CPeGEa4XxtOxP7LCpi4AcTCRKZvH/61NNPHB9hIswBJw+WpsSt0+INFEWvTBTr ilMHfOOuWjxpARAkDDnaKGI/zHvurRlUVRFZ486u3pU+7GYtuvMtARH4GDSkcAkPX/ih KX4ewSAxZBOcissf4btnpMQx2hN4B4P3+alUU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=V5NdjmA04+KJjdAsW9poEOXbULT0LT4y3OG0OP3UBh/m8JD2K1REkSZbUiogh+rmpR yh2WPFy+VpZHKF0NeoWNG8P4ZBAxCSqmftqNCgTqO1qTKTceA5S0Qw6uCgn5OWRhu7uq 7f0K2xu1QTEI2vkmnoPTStRCjGY5uEelQ2K30=
- In-reply-to: <op.vu6hg8zevocxtk@tabole>
- 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: <op.vu6hg8zevocxtk@tabole>
2011/5/8 Ole Jørgen Brønner <olejorgenb@xxxxxxxx>:
> Why does 'ignore-line yes' ignore the _current_ word too? If this is somehow
> useful in some cases, could we get another option ignoring all words except
> the current one?
>
> I'm almost burned myself when using
> zstyle ':completion:*:(mv|rm|kill|diff):*' ignore-line yes
> and doing
> rm someprefix<tab>
> in a directory with files 'someprefix' and 'someprefix_important'. In this
> case someprefix will expand to someprefix_important
>
> (minimal rc file inclued)
>
>
>> ignore-line
>>
>> Finally, if the style is set to other, no word apart from
>> the current one will be considered as a possible completion.
Did you paste this manpage extract as a way of saying "never mind, I
found the answer"? But then why did you press send? Color me confused.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author