Zshrc only read in toolbox but not in host shell

Hi.

I use zsh on silverblue (in host shell and in my toolbox).
I export several environment variables in ~/.zshrc. However they are only exported when I enter a toolbox.

Of course I’ve rebooted fedora already.

1 Like

I’ve found the reason.
ZDOTDIR was set to $HOME/.config/zsh in /etc/zshenv Not sure whether this is by default or I’ve done this myself and forgot about it.
So I’ve modified the wrong file all the time.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.