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

Re: Unicode allowables in Environment variables



Looks like once it's munged, it doesn't change any more. So the re-munging (getsparam_u() or whatever) must be idempotent.

image.png

I also tried adding corrections immediately after the echos. It was fine at the start of /etc/zshenv, corrupted at the start of ~/.zshenv, back to fine at the start of /etc/zshrc, and corrupted again at the start of ~/.zshrc, which makes sense if the problem is sourcehome().

On Mon, Nov 4, 2024 at 3:07 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
On Mon, Nov 4, 2024 at 11:15 AM Mark J. Reed <markjreed@xxxxxxxxx> wrote:
>
> It does seem to get munged a second time. If I put a correcting ZDOTDIR=$(printenv ZDOTDIR) at the top of /etc/zshrc, it's again unechoable by the time I get a prompt.

If you DO NOT correct it in /etc/zshrc, just echo it at every point,
is the pattern different each time? (Try "noglob echo ..." for the raw
string?)


--
Mark J. Reed <markjreed@xxxxxxxxx>


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