Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 'ignore-line yes' style semantics?



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