View Full Version : [SOLVED] .zprofile not sourced?

August 21st, 2010, 07:20 AM
I'm using ZSH, and although my .zshrc is being sourced properly when I open a terminal, it would seem that my .zprofile is not. My .zprofile is very simple:

xrdb -merge ~/.Xdefaults

This command works if I type it manually at the command line, but for some reason it's not sourced at login. I've also tried renaming it to .zlogin, to no avail.



Edit: Ah, figured it out: something in my .zshrc was causing it to exit prematurely. How this affected .zprofile is a bit beyond me (I thought the order was zshenv -> zprofile -> zshrc -> zlogin).