Powerlevel9k was a tool for building a beautiful and highly functional CLI, customized for you. P9k had a substantial impact on CLI UX, and its legacy is now continued by P10k.
When writing tests for *_BOLD I noticed that there are artifacts left behind after every test. Like the arrays __P9K_ICONS and __P9K_DATA.
I tried to circumvent this by calling emulate -L zsh in setUp which doesn't seem to do anything so I did an unset -m '__P9K_*' in tearDown.
There might be more variables like this and I'm not sure if other test are affected but I think it should at least be put into the function prompt_powerlevel9k_teardown.
When writing tests for
*_BOLD
I noticed that there are artifacts left behind after every test. Like the arrays__P9K_ICONS
and__P9K_DATA
.I tried to circumvent this by calling
emulate -L zsh
insetUp
which doesn't seem to do anything so I did anunset -m '__P9K_*'
intearDown
.There might be more variables like this and I'm not sure if other test are affected but I think it should at least be put into the function
prompt_powerlevel9k_teardown
.