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

Re: Completing a unique prefix of "script" completes "script"



On 8/13/06, Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
"Nikolai Weibull" wrote:
> On 8/10/06, Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
>
> > zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[.,_-]=**r:|=
> **'
>
> What exactly are the 'r's doing here?

That's become a bit garbled: the bit we're referring to should look like

'r:|[.,_-]=** r:|=**'

That's what I figured.

[excellent description of 'r' matcher-list operator]

Thanks!

Quite why this forces a distinction between script as an executablle and
script as a directory is one of the great mysteries of the modern world.

Hehe, it's bad when this comes from a lead developer...

 nikolai



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