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

Re: Unicode allowables in Environment variables



This is a fantastic Observation. Easy to test.

I just ran it with LC_COLLATE. 

Last login: Mon Nov  4 16:16:46 on ttys001

ZDOTDIR is 

Assigning LC_COLLATE=🔮

After assignment: 🔮

In zshrc_Apple_Terminal Before Mangling: ~/App🔮Bundles/Configurations/Zsh/•Z

In .zshrc LC_COLLATE=🔮

compinit:200: bad pattern: ~/App\M-p<\M-.Bundles/Configurations/Zsh/•Z/.zshrc


On Nov 4, 2024, at 15:59, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:

On Mon, Nov 4, 2024 at 3:46 PM William DeShazer <earl.deshazer@xxxxxxxxx> wrote:

One interesting observation by the way is that it is on ZDOTDIR that is getting munged.

*IF* the problem really is getsparam_u(), then the other parameters
that are fetched that way are:
LC_ALL
LC_COLLATE
LC_CTYPE
LC_MESSAGES
LANG
ZSH_DEBUG_LOG
ZBEEP

The latter will be re-fetched every time the shell would beep (e.g.,
on a failed completion or undefined keystroke) so it might be the
easiest to test against multiple interpretation without having to
restart the shell.



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