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

Re: How to complete a file name?



Hallo Peter,

Peter Stephenson <pws@xxxxxxx> wrote:
> =?UTF-8?Q?J=C3=B6rg?= Sommer wrote:
>> Do I understand it right, that such a forced filename completion is not
>> possible?
>
> *Forced* filename completion is easy; you just bind it to another key.
>
>   zle -C complete-filename complete-word _generic
>   zstyle ':completion:complete-filename:*' completer _files
>   bindkey '^xf' complete-filename

This doesn't work with eval "echo /bi<^xf>

Bye, Jörg.
-- 
Es gibt nichts schöneres als dem Schweigen eines Dummkopfes zuzuhören.
   	       		      	  	        (Helmut Quatlinger)



Messages sorted by: Reverse Date, Date, Thread, Author