mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 01:46:40 +00:00
Fix issue with switching to already existing session
This commit is contained in:
@@ -116,7 +116,7 @@ initialize_session() {
|
||||
# created, the session already exists, and we'll need to specifically switch
|
||||
# to it here.
|
||||
finalize_and_go_to_session() {
|
||||
tmux kill-window -t "$session:99" 2>/dev/null
|
||||
tmux kill-window -t "$session:99" 2>/dev/null || true
|
||||
if [[ "$(tmuxifier-current-session)" != "$session" ]]; then
|
||||
__go_to_session
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user