matyama / configs

Configuration and scripts for Ubuntu desktop
MIT License
2 stars 0 forks source link

Re-configuring p10k reverts custom Base16 color config #21

Closed matyama closed 2 years ago

matyama commented 2 years ago

d123775548bbe6e8a7c4b5da2170d4ca4f0f92fe introduced custom Base16 color setup to p10k.zsh. This includes definition and usage of BASE16_BASE* variables.

Unfortunately, running p10k configure will rewrite p10k.zsh and thus revert these color changes. Make a script that would re-apply this custom color config or investigate other means how to preserve it.

matyama commented 2 years ago

Alternatives that work out-of-the-box are:

According to the p10k docs using these one can

confine prompt colors to the selected terminal color palette

while

Other styles use fixed colors and thus look the same in any terminal color palette.

Using one of these configurations this issue could be closed since no hack would be necessary.

matyama commented 2 years ago

No longer an issue, addressed by 4b1d786.