Question

I'm switching from gnu screen to tmux, and I'm observing a weird behaviour where my shell hangs when I create a new window in tmux. I can kill the hang and get to my shell if I hit CTRL-C, but I want to find out what's going wrong.

I've done some echo debugging of my zsh configuration and figured out that the hang happens after ~/.zsh/env is sourced (it doesn't hang w/in ~/.zsh/env, I've checked that), but before ~/.zshrc is sourced. I'm willing to dig further, but I'm not sure what happens between those two steps. Can anyone tell me, so I know where to look?

Was it helpful?

Solution

Ah-ha, it's /etc/zprofile that's causing the issue. I found out from man zsh the order of the sourced files. Thanks!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top