Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion question
- X-seq: zsh-users 16085
- From: "Jun T." <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Completion question
- Date: Tue, 7 Jun 2011 14:12:23 +0900
- In-reply-to: <20110606223321.GA3047@solfire>
- 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: <20110602191951.566gmx1@mp009.gmx.net> <20110606223321.GA3047@solfire>
At 0:33 AM +0200 11.6.7, meino.cramer@xxxxxx wrote:
>Is it possible to configure zsh to only take the string from the
>beginning up to the position of the cursor into account for the
>completion processing ?
Try adding the following line into your .zshrc:
bindkey '^I' expand-or-complete-prefix
(another possibiliy is to use the _prefix completer with the
complete_in_word option, but using expand-or-complete-prefix
would be the simplest one.)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author