EDIT: I found what is really going on. Regarding the manual:
Commands are first read from /etc/zshenv; this cannot be overridden.
Commands are then read from $ZDOTDIR/.zshenv. If the shell is a
login shell, commands are read from /etc/zprofile and then
$ZDOTDIR/.zprofile. Then, if the shell is interactive,
commands are read from /etc/zshrc and then $ZDOTDIR/.zshrc. Finally,
if the shell is a login shell, /etc/zlogin and $ZDOTDIR/.zlogin are
So setting ZSH in interactive mode works great.
set shell=zsh\ -i
I don't know. I think I have the same issue you describe but what should I put in
~/.zprofile? I linked it to
~/.zshenv, it didn't work. Then I linked it to
~/.zshrc, it didn't work.
I was happy to find your tip which was the first element of response after a pretty long research :)