diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-11-10 16:54:27 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-11-10 16:54:27 -0700 |
commit | 09f0ea7c8d20e892d18fa9d194d0a4d3739cf777 (patch) | |
tree | b7c4c02e00668e7f17b066d3f067822725475e58 /bin/ssh-and-tmux | |
parent | 08de97cf8fb4991bfd0a7a00183a251ad81a51e3 (diff) | |
download | dotfiles-09f0ea7c8d20e892d18fa9d194d0a4d3739cf777.tar.gz |
newline when ssh-and-tmux exits
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 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 |