From 82781b78e19d350fa2625c9fabb248e1da56d125 Mon Sep 17 00:00:00 2001 From: Stefan Friese Date: Thu, 7 Mar 2024 12:33:49 +0100 Subject: [PATCH] removed exit from the ssh name function for tmux, means the window will have the name of the ssh session still attached after disconnect --- bash/.bash_functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/.bash_functions b/bash/.bash_functions index 6c153ca..8d00356 100644 --- a/bash/.bash_functions +++ b/bash/.bash_functions @@ -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