Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: %B%~%b bug in $PROMPT in 3.1.5 ?
- X-seq: zsh-users 2007
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: %B%~%b bug in $PROMPT in 3.1.5 ?
- Date: Sun, 3 Jan 1999 21:30:58 -0800
- In-reply-to: <199812311709.MAA01264@ocalhost>
- References: <199812311709.MAA01264@ocalhost>
On Dec 31, 12:09pm, Timothy J Luoma wrote:
} Subject: %B%~%b bug in $PROMPT in 3.1.5 ?
}
} Note the following, where $PWD = PWD (literally) in some cases
}
} USER: (tjl) HOST: (localhost) TTY: (ttyp1) HIST#: (1760)
} [OLDPWD: /] [PWD: ~PWD]
This happens because many parameters that used to be "special" in 3.0.5
became nonspecial in 3.1.5 (another ksh compatibility thing), including
PWD and OLDPWD. This has the side-effect of making them susceptible to
the autonamedirs option, and introduced several other bugs as well.
There were patches posted in zsh-workers articles 4589, 4596, and 4971
(the one in 4596 is mainly interesting because 4971 expects it in order
to replace it with a different fix).
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author