summaryrefslogtreecommitdiff
path: root/bin/ssh-and-tmux
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-11-10 16:54:27 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-11-10 16:54:27 -0700
commit09f0ea7c8d20e892d18fa9d194d0a4d3739cf777 (patch)
treeb7c4c02e00668e7f17b066d3f067822725475e58 /bin/ssh-and-tmux
parent08de97cf8fb4991bfd0a7a00183a251ad81a51e3 (diff)
downloaddotfiles-09f0ea7c8d20e892d18fa9d194d0a4d3739cf777.tar.gz
newline when ssh-and-tmux exits
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 d11c3d73..37dc8fb6 100755
--- a/bin/ssh-and-tmux
+++ b/bin/ssh-and-tmux
@@ -18,5 +18,5 @@ while true; do
ssh -t "$host" "tmux new-session -A -s $session"
clear
read -n 1 -r -s -p "$prompt" ch
- [ "$ch" = $'\04' -o "$ch" = d ] && exit
+ [ "$ch" = $'\04' -o "$ch" = d ] && echo && exit
done