Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Zsh completion question
- X-seq: zsh-users 15539
- From: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- To: Volodya Khomchak <kolombo.inc@xxxxxxxxx>
- Subject: Re: Zsh completion question
- Date: Fri, 12 Nov 2010 11:57:17 -0500 (EST)
- Cc: zsh-users@xxxxxxx
- In-reply-to: <AANLkTimDtWUM2-4QK387PRQGh-NaV8K1uHGv_8ocbdtp@xxxxxxxxxxxxxx>
- 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
- References: <AANLkTimDtWUM2-4QK387PRQGh-NaV8K1uHGv_8ocbdtp@xxxxxxxxxxxxxx>
On Fri, 12 Nov 2010, Volodya Khomchak wrote:
Hi,
I have very simple question about Zsh completion.
Situation is next, I have two commands:
- moc
- mocp
When I entered `moc` and pressed <TAB> zsh doesn't propose me to
select `moc` or `mocp` command, instead of it space is added and now
file list is shown as completion variants.
How can I fix it to set it in bash like mode ?
I was able to reproduce this by setting the zstyle:
zstyle ':completion:*' accept-exact true
That style isn't 'true' by default. If you set it intentionally, it
sounds like you don't actually want it. If something at the system
level sets it up, you can override it by adding:
zstyle ':completion:*' accept-exact false
somewhere in your startup scripts (e.g. ~/.zshrc).
You can test that it's currently set by looking at the output of:
zstyle -L ':completion:*'
--
Best,
Ben
Messages sorted by:
Reverse Date,
Date,
Thread,
Author