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

Re: more wishes with automounter



> [*] another wish would be that Zsh complete those invisible
>     directories; or more generaly: give the user the possiblity
>     to add "virtual files" (anywhere he want), that Zsh would
>     use for completion.

You need to use the fake style.  Something like

zstyle ':completion:*:files' fake /var/autofs/nfs:stuff

except you have to work out what to put for `stuff'.  The manual page
implies you can put more than one name there but doesn't say how to do it.
A couple of weeks ago somebody posted a trick for how to make completion
use anything you type at this point.  Search for zstyle and fake.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070



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