Open eilefsen opened 1 year ago
I think that's kind of how shells always work and not really a problem with flavours.
So you can either manually reload your colorscheme each time you use flavours apply
(maybe using a shell function), or find some way to automatically update the shell environment.
I am using
flavours
along with theshell
template to change my terminal theme, i am doing this by rewriting the file$ZDOTDIR/base16_theme.sh
and sourcing it in my.zshrc
.I am however not able to create a hook to source it upon applying a new theme with
flavours apply
. Applying the new colors inbase16_theme.sh
requires re-launching the terminal (upon which it gets sourced by .zshrc), or sourcing the script manually.Here's my config
And here's my verbose output
If i manually run
zsh -c '/home/ee/.config/zsh/base16_theme.sh'
after runningflavours apply <theme>
the theme is applied to the current terminal instance, as expected.