Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Zsh completion question
- X-seq: zsh-users 15540
- From: Matias Graña <matias.alejo@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Zsh completion question
- Date: Fri, 12 Nov 2010 15:31:37 -0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=sjQrjy2z1PItGc7bFJ0knT7NJlq6wv2YvoAkzB3QZsE=; b=ul8d93YTyES/2rdTTrc7B8YUjnM8RtNNjuvFUatkgf6CTYSbwMIFzA+b0DBh1XUCwt UL/vlsv/LGhTKiBnOEAIQ2OXXyXiNBd7NjSbmBB6Z8bSXEwtwNfnFU13IQzfCscHYpsw iSX+ffZZY21UX39oUflZV/ABF7OkV9En+IJfQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=hk4R9tTr3wyFA4KHNbjYtOnnSK6SCcm0inwG3Iaurvka9xcRwLfXOXpVPz2p2YKTTm OFHj//f3ftkeLjkle0y1NFUHSIYMTw4ObZT/M5TynZHPHYzskHElBHP1pG8Dq8/Xa7EH gisxdxXYoLa5FAgzXoiS5YbdBpQruV/ddybXE=
- In-reply-to: <alpine.LNX.2.01.1011121151040.3583@hp>
- 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> <alpine.LNX.2.01.1011121151040.3583@hp>
On Fri, Nov 12, 2010 at 1:57 PM, Benjamin R. Haskell <zsh@xxxxxxxxxx> wrote:
> 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
>
Ben: sorry; I just sent this email only to you while it was intended
for the list. Here it goes again.
I get the same behaviour. I don't set
zstyle ':completion:*' accept-exact true
anywhere I'm aware of. In fact, zstyle -L ':completion:*' does not
show this setting. And, when I set it to false, behaviour changes, so
it was this option indeed.
Best,
Matías
Messages sorted by:
Reverse Date,
Date,
Thread,
Author