summaryrefslogtreecommitdiff
path: root/bin/ssh-and-tmux
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-10-15 16:46:08 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-10-16 22:04:45 -0700
commit2fc7c5d2b9a78ff9dc03cc9131a362bc77028f05 (patch)
tree8caab07bf7c58f7bfd283d8b60146583920865bf /bin/ssh-and-tmux
parent5e4dab2dec7cb0fb5fa8d8990fa85020a70dccd5 (diff)
downloaddotfiles-2fc7c5d2b9a78ff9dc03cc9131a362bc77028f05.tar.gz
ssh-and-tmux: exec mosh
Diffstat (limited to 'bin/ssh-and-tmux')
-rwxr-xr-xbin/ssh-and-tmux2
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