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

Re: PATCH: cd -q (was Re: _canonical_path ...)



On 27/03/2008, Peter Stephenson <pws@xxxxxxx> wrote:
> On Thu, 27 Mar 2008 12:15:25 +0000
>
> Peter Stephenson <pws@xxxxxxx> wrote:
>
> > Any comments about the following proposal, which adds the -q option
>  > to all relevant functions?  If it looks OK, I'll change the function
>  > above to unsetopt PUSHD_NO_DUPS and use pushd -q/popd -q to sanitize
>  > the directory with REPLY=$PWD and remove the fork.
>
>
> Here is what I'm likely to commit.  It includes various related
>  suggestions.  It doesn't include a new style for the canonical stuff.

I couldn't help but notice _cd doesn't complete directories after -q
(or -L or -P or -s), nor the options themselves. I took a look at it,
but it was special enough that I have no idea how to fix it in under 3
hours :).

-- 
Mikael Magnusson



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