Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Completion question



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