Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: case-insensitive filename completion?
- X-seq: zsh-users 2964
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: John S Cooper <John.Cooper@xxxxxxxxxxxxx>, zsh-users@xxxxxxxxxxxxxx
- Subject: Re: case-insensitive filename completion?
- Date: Thu, 16 Mar 2000 15:49:32 +0000
- In-reply-to: <u7lf3dk2t.fsf@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <u7lf3dk2t.fsf@xxxxxxxxxxxxxxxxxx>
On Mar 16, 3:13pm, John S Cooper wrote:
} Subject: case-insensitive filename completion?
}
} Has anyone considered adding [case-insensitive filename completion] to
} the unix version?
It's in the 3.1.6 development series. You can find a fairly recent copy
of the source under ftp.zsh.org:/pub/development/. There are several ways
to configure it; the most direct is:
zstyle ":completion:*" matcher-list 'm:{A-Za-z}={a-zA-Z}'
which means that any letter on the command line (left of the `=') matches
any letter of the opposite case in the completions (right of the `='), in
addition to matching itself. If you prefer case folding in only one
direction:
zstyle ":completion:*" matcher-list 'm:{A-Z}={a-z}'
maps upper case on the command line to lower case in the completions.
There are zstyle settings to control spelling correction, approximate
matching, and a wide variety of other completion-driven manipulations.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author