Skip to content

Commit

Permalink
Exit after running tmux a
Browse files Browse the repository at this point in the history
  • Loading branch information
goreliu committed Oct 24, 2016
1 parent 08316c0 commit 6e0e86d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/open-wsl.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ else
}
else
{
Run, %A_ScriptDir%\bin\mintty %icon_string% -t "%title%" -e /bin/wslbridge -t %shell% -c "tmux a 2>/dev/null || cd && tmux"
Run, %A_ScriptDir%\bin\mintty %icon_string% -t "%title%" -e /bin/wslbridge -t %shell% -c "tmux a 2>/dev/null && exit || cd && exec tmux"
}
}
else
Expand Down

0 comments on commit 6e0e86d

Please sign in to comment.