diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-10-15 16:46:08 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-10-16 22:04:45 -0700 |
commit | 2fc7c5d2b9a78ff9dc03cc9131a362bc77028f05 (patch) | |
tree | 8caab07bf7c58f7bfd283d8b60146583920865bf /bin/ssh-and-tmux | |
parent | 5e4dab2dec7cb0fb5fa8d8990fa85020a70dccd5 (diff) | |
download | dotfiles-2fc7c5d2b9a78ff9dc03cc9131a362bc77028f05.tar.gz |
ssh-and-tmux: exec mosh
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 |