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

Re: How to complete a file name?



=?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

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



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