Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bug with chpwd/allexport
- X-seq: zsh-workers 4239
- From: Zefram <zefram@xxxxxxxxx>
- To: dominik_vogt@xxxxxx (Dominik Vogt)
- Subject: Re: bug with chpwd/allexport
- Date: Fri, 17 Jul 1998 14:42:09 +0100 (BST)
- Cc: mason@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <35AF4FB0.1018@xxxxxx> from "Dominik Vogt" at Jul 17, 98 03:20:48 pm
Dominik Vogt wrote:
> BTW if the second workaround you suggest works,
>then it is a bug. The manpage states clearly, that a local variable is
>still exported if the ALLEXPORT option is set and the variable was
>prviously unset.
But with `local', the variable disappears at the end of the function,
and so can't affect the display of the prompt. Try adding "print -P '%~'"
in different parts of the function to see where the variable takes effect.
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author