From: Zefram <zefram@tao.co.uk>
To: dominik_vogt@hp.com (Dominik Vogt)
Cc: mason@primenet.com.au, zsh-workers@math.gatech.edu
Subject: Re: bug with chpwd/allexport
Date: Fri, 17 Jul 1998 14:42:09 +0100 (BST) [thread overview]
Message-ID: <199807171342.OAA09593@taos.demon.co.uk> (raw)
In-Reply-To: <35AF4FB0.1018@hp.com> 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
next prev parent reply other threads:[~1998-07-17 13:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <H0000bb106ed872b@MHS>
1998-07-17 13:20 ` Dominik Vogt
1998-07-17 13:42 ` Zefram [this message]
[not found] ` <H0000bb106ef5312@MHS>
1998-07-17 14:29 ` Dominik Vogt
1998-07-17 14:54 ` Zefram
[not found] ` <H0000bb106effa42@MHS>
1998-07-17 15:42 ` Dominik Vogt
1998-07-23 20:30 ` bug with chpwd/allexport (plus expansion/substitution remarks) Bart Schaefer
1998-07-24 16:03 ` Bart Schaefer
[not found] <H0000bb106ed95d2@MHS>
1998-07-17 13:27 ` bug with chpwd/allexport Dominik Vogt
1998-07-17 10:30 Dominik Vogt
1998-07-17 10:44 ` Geoff Wing
1998-07-17 10:51 ` Zefram
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199807171342.OAA09593@taos.demon.co.uk \
--to=zefram@tao.co.uk \
--cc=dominik_vogt@hp.com \
--cc=mason@primenet.com.au \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).