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

Re: Completion on cd



> From lovell@xxxxxxxxx Tue Jan 27 17:54:03 1998
> Date: Tue, 27 Jan 1998 17:35:20 -0700 (MST)
> From: Matthew Lovell <lovell@xxxxxxxxx>
> To: Wessel Dankers <wsl@xxxxxxxxx>
> Cc: Zsh users mailing list <zsh-users@xxxxxxxxxxxxxxx>
> Subject: Re: Completion on cd
> 
> I don't have a comment on the suggestion, just my compctl setting for getting
> .<dir>'s to show up:
> 
>   # cd/pushd only directories or symbolic links to directories.  If none of those
>   # match, resort to shell variables
>   compctl -g '*(-/)' + -g '.*(-/)' -v cd pushd rmdir    

also known as

compctl -g '(.*|*)(-/)'

~~
Steve



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