I am using a Mac. When I
tmux new-session -s will new a session with a window with duplicate
$PATH entries in random order, which is different from these outside Tmux.
However if I
C-b c to create a new window inside the same Tmux session,
$PATH entries will be normal and correct again. I totally get lost and want to know how to debug this.
This will cause some of my script that I wrote for Tmux fail to execute. The script worked very well before but are not working now.