[Fix #56] tmux, launch_msg()

tmux, launch_msg(): Socket is not connected is thrown due to an error by launch_ctl
By default tmux starts the first login shell available, so no need to force it
This commit is contained in:
Colin Hebert 2012-03-20 22:15:35 +00:00
parent 6c181ce8dc
commit 013cb23bc4

View file

@ -27,7 +27,7 @@ if (( $SHLVL == 1 )) && zstyle -t ':omz:plugin:tmux:auto' start; then
if [[ -n "$session" ]]; then
exec tmux attach-session -t "$session"
else
exec tmux new-session "$SHELL -l"
exec tmux new-session
fi
fi