Greetings,
I am looking to launch tmux automatically when I launch a terminal/ssh
session.
I can:
keep my login shell set to /bin/zsh
and put the following in my .zshrc:
if [[ -z $TMUX ]]; then
exec tmux new
fi
OR
I can:
set my login shell to /usr/bin/tmux
and put the following in my .tmux.conf:
set -g default-shell /bin/zsh
Are there any pros/cons to one way or the other?
What are folk's opinions on the matter?
Thanks!
-m
--
You received this message because you are subscribed to the Google Groups
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.