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

Re: zsh 4.3.10-test-3



On 17 December 2010 18:12, Peter Stephenson <Peter.Stephenson@xxxxxxx> wrote:
> On Fri, 17 Dec 2010 08:35:24 -0800
> Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx> wrote:
>> On Fri, Dec 17, 2010 at 5:03 AM, Simon Ruderich <simon@xxxxxxxxxxxx>
>> wrote:
>>
>> > Could the default get changed back to the old behaviour with causes
>> > no highlight (in bold)?
>> >
>>
>> I think the suffix highlighting makes a nice default, since it helps
>> to show people that the character is nebulous, and may disappear.
>> Many people who are new to zsh get surprised by the automatic
>> trimming of a visible slash, and having an easy way for someone to
>> see that that slash is going to disappear (or not disappear) when
>> return is pressed is a good thing, in my opinion.
>
> Yes, the intention that anyone worried by that sort of thing is likely
> to be able to do what Mikael suggested to turn off everything, so the
> fix should be good enough.

+zle_highlight also control highlighting of a removable completion
+suffix, e.g. the "/" automatically appended to directories.  This uses
+the keyword "suffix".

"also controls"

-		    isearch_atr_on_set = 1;
+		    isearch_atr_on_set = suffix_atr_on-set = 1;

_set, not -set

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author