diff options
Diffstat (limited to 'bin/ssh-and-tmux')
-rwxr-xr-x | bin/ssh-and-tmux | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ssh-and-tmux b/bin/ssh-and-tmux index c27d959d..b7154ddf 100755 --- a/bin/ssh-and-tmux +++ b/bin/ssh-and-tmux @@ -75,7 +75,7 @@ fi && cmd=($(printf "$container_cmd" "$container_name") -- "${cmd[@]}") if $use_mosh; then - mosh "$host" -- "${cmd[@]}" + exec mosh "$host" -- "${cmd[@]}" else # The idea behind quitting on d, C-c or C-d was so that the user can type # C-d C-d to kill the remote shell and then kill this script, C-\ d d to |