Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Tab inserts spaces instead of complete by default
- X-seq: zsh-users 14850
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Sébastien Pierre <sebastien.pierre@xxxxxxxxx>, zsh-users@xxxxxxx
- Subject: Re: Tab inserts spaces instead of complete by default
- Date: Sun, 21 Feb 2010 09:41:25 -0800
- In-reply-to: <91790a981002210917k4bf2980am32b816cc93d67650@xxxxxxxxxxxxxx>Comments: In reply to Sébastien Pierre <sebastien.pierre@xxxxxxxxx> "Tab inserts spaces instead of complete by default" (Feb 21, 12:17pm)
- 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: <91790a981002210917k4bf2980am32b816cc93d67650@xxxxxxxxxxxxxx>
On Feb 21, 12:17pm, Sébastien Pierre wrote:
}
} So my question is: how can I configure zsh to always show possible
} completions, even when there is no character on the prompt ?
Zsh by default binds tab to the "expand-or-complete" widget, which
(also by default) has the behavior you described.
You can change this by changing the widget used for tab:
bindkey '^I' complete-word
However, that's still just using the relatively simple built-in set
of completions. You probably want instead to enable the full set of
scripted completions by running the "compinstall" command, or by
manually editing your .zshrc to add the lines
autoload -U compinit
compinit
Messages sorted by:
Reverse Date,
Date,
Thread,
Author