Since Stackoverflow does have a tmux
tag, I would consider this question borderline.
It sounds like tmux
is starting some shell other than your default shell.
Here is one possible fix for that, although whether it works may depend on what else is in your .tmux.conf
.
Open ~/.tmux.conf
and put this line at the bottom.
set-option -g default-shell $SHELL