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

Re: cd directory completion?



Dominik Vogt wrote:

> I'd like to have cd complete directory names as well as
> symlinks that point to directories (zsh-3.0.6). Is there
> a way to do this without writing a completion function?
> (And I don't want to fiddle with any 'chase symlink' setting
> there may be - I like them the way they are).  I couldn't
> find anything appropriate in the man page. If it's not
> possible without a function, has anybody written one and 
> can send it to me?

The simplest solution: compctl -/ cd

For more, see the `compctl-examples' file or the examples at
http://www.zsh.org.


Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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