removed exit from the ssh name function for tmux, means the window will have the name of the ssh session still attached after disconnect

This commit is contained in:
Stefan Friese 2024-03-07 12:33:49 +01:00
parent 2dc3c00f98
commit 82781b78e1
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ killport () { lsof -ti ":$1" | xargs kill -9; }
ssh() {
tmux rename-window "$*"
command ssh "$@"
exit
# exit
}
# Creates a new directory and immediately changes into it