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

Re: ~PWD and ~OLDPWD showing up in zsh prompts



On Jan 18, 11:48am, Doug Landauer wrote:
> The latest patch you posted doesn't work for me -- my prompt still
> displays  "~OLDPWD"  sometimes.

Oh, well, that's because my patch only filters out "PWD".  You're right
that it probably ought to filter "OLDPWD" as well.

Actually, it's probably the case that no parameter set automatically by
the shell should ever be subject to autonamedirs.  Unfortunately, there's
no existing list of such parameters built into the code.



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