Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix Tmux shell integration to not exit when tmux is not installed.

  • Loading branch information...
commit ebe5d8ffe6d4431af833dd71da784d49ee479b88 1 parent 8d5387a
@bjeanes authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 shells/tmux.sh
View
6 shells/tmux.sh
@@ -15,8 +15,8 @@ if [ -z "$TMUX" ]; then
last_session="$(tmux list-windows -t login | tail -n1 | cut -d: -f1)"
tmux new-session -t login \; new-window -a -t $last_session # Create a *new* session bound to "login" and create a new window
fi
- fi
- # When Tmux exits, we exit
- exit
+ # When Tmux exits, we exit
+ exit
+ fi
fi
Please sign in to comment.
Something went wrong with that request. Please try again.