eendroroy / alien

An asynchronous zsh prompt
https://eendroroy.github.io/alien
MIT License
307 stars 45 forks source link

Changes to ALIEN_* variables don't take effect #30

Closed alextremblay closed 4 years ago

alextremblay commented 4 years ago

The bug I'd like to report is an inability to change any of the variables (ex. ALIEN_SECTIONS_LEFT_SEP_SYM or ALIEN_USE_NERD_FONT after the theme has been sourced.

Well, to be more specific, it seems like they DO take effect momentarily, but some async process comes in and overwrites them with the original values from when the theme was initially sourced. Please see the included asciinema recording below for an example of this behavour

eendroroy commented 4 years ago

It will only work if you put it in .zshrc (before sourcing the theme) and open a new terminal.

Asciinema recording was created only to show some of the settings options (with some tweaks to the original theme so that the changes in variables takes effect immediately). The original theme will not work like that.

alextremblay commented 4 years ago

Ahhhh. I see.

Thank you