.zslogin is not sourced on a zsh startup

412 Views Asked by At

I am using zsh on Ubuntu with prezto. Whenever I start a new terminal my .zlogin file is not being sourced. I added lines like echo "%filename - in" and echo "$filename - out" to beginning and end of all files that I believe should be sourced on a startup. That's what I get when a new terminal (or terminator or xterm) window is started:

zshenv - in
zprofile - in
zprofile - out
zshenv - out
zshrc - in
zpreztorc - in
zpreztorc - out
zshrc - out

It looks to me that there are no errors during sourcing of these files (otherwise, there would be an unmatched pair of "in" and "out" lines). Please, help me to find out why I do not see "zlogin - in" and "zlogin - out". Thanks in advance!

By the way, I use identical startup files on a macOS machine and it works as intended.

0

There are 0 best solutions below