Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completing a unique prefix of "script" completes "script"
- X-seq: zsh-users 10598
- From: "Nikolai Weibull" <now@xxxxxxxx>
- To: "Peter Stephenson" <p.w.stephenson@xxxxxxxxxxxx>
- Subject: Re: Completing a unique prefix of "script" completes "script"
- Date: Sun, 13 Aug 2006 19:01:19 +0200
- Cc: "Zsh Users' List" <zsh-users@xxxxxxxxxx>
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=o5dPG0TOFxtbpjRnmcMbhhYQqeyJI6RFh9BWJE9rjnNv2X3gV6n2d7ExX9A8tfwsvvQRsOM3kdaIW9Bya4sKDyVb0l2BuvsnzLO6XbZfAsn1omzpBYWh5u9h0dFIsjbKdD0vhd3gIMbhUXg+7WydkR9j2WZzENMD6R4l69mAj08=
- In-reply-to: <200608131634.k7DGYr8V002934@xxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <now@xxxxxxxx> <dbfc82860608130759t7d67f5c5w152184322272becf@xxxxxxxxxxxxxx> <200608131634.k7DGYr8V002934@xxxxxxxxxxxxxxxxx>
- Sender: nikolai.weibull@xxxxxxxxx
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