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

Re: match again



On Jan 28,  5:47pm, Alexandre Duret-Lutz wrote:
} Subject: Re: match again
}
} -compstyle '*:options' prefix-hidden yes"
} +zstyle '*:options' prefix-hidden yes"

(And several similar examples in comments.)

These are not equivalent.  Is it really correct to change it this way?
The actual equivalent of the "compstyle" statement would be 

	zstyle ':completion*:options' prefix-hidden yes

While I'm on the topic, should there be a ':' before the '*' in that
example?  One of the defaults installed by compinit itself comes out
like 
	zstyle ':completion*:default' list-colors ...

whereas all the others resemble one of

	zstyle :completion:correct: prompt 'correct to:'
or
	zstyle ':completion:*' verbose yes

which makes me wonder if it should be

	zstyle ':completion:*:default' list-colors ...

Clue me on the subtlety, please.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



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