Debugging Zsh startupEdit
I recently had to debug some breakage in my Zsh set-up where my
$PATH was getting clobbered but I didn’t know where from. Stack Overflow to the rescue:
This simulates a login shell (
--login) and dumps debug info (
--xtrace) about everything that it’s doing along the way.