I'm using the standard apple terminal with
zsh as my default shell.
~/.zprofile (equivalent of
.profile) I have the following line:
[[ $TERM != "screen" ]] && exec tmux
This basically makes shure that if I open a new window in
zsh a new
tmux session is started, but
tmux doesn't get started from within
sessions running inside
This works fine but for one thing: I cannot start XQuartz. Everytime I launch an from the command line that requires X11 (like a
octave plot) the terminal just hangs and nothing happens.
However, I noticed that when I just disable the auto-launching of
tmux by removing the line above so that I can open a new terminal window and launch XQuartz from there, I can also use the launched XQuartz from within
This however gets pretty tiresome.
How could I fix this?