Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
completion
- X-seq: zsh-users 17450
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: completion
- Date: Mon, 03 Dec 2012 09:44:01 -0800
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Gentlemen:
I'm trying to get command line completion to only offer me lines that
are an exact match for what has already been typed. The number of
things you can set in .zshrc is a bit overwhelming. I have all this just
for 'completion' and I confess I have little idea what does what:
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
zstyle ':completion:*:killall:*' command 'ps -u $USER -o cmd'
zstyle ':completion:*' menu select
zstyle ':completion:*' completer _complete _match _approximate
zstyle ':completion:*:match:*' original only
zstyle ':completion:*:approximate:*' max-errors 1 numeric
zstyle ':completion:*:*:kill:*' menu yes select
zstyle ':completion:*:kill:*' force-list always
zstyle ':completion:*:cd:*' ignore-parents parent pwd
Can anyone rationalize all that? I'm going to hack away at it blindly
in the mean time, but some fatherly advice would be apreciated.
Tx.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author