[Fix #56, Fix #58] Remove the SHELL argument

This fixes the tmux launch_msg() error.
This commit is contained in:
Sorin Ionescu 2012-03-20 18:27:53 -04:00
parent 6c181ce8dc
commit 6ada262fed

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