From 734b972df0165bac178d75524e5af1b791c67bd2 Mon Sep 17 00:00:00 2001 From: Stefan Friese Date: Mon, 25 Mar 2024 17:42:47 +0100 Subject: [PATCH] changed ssh function, so that the name of the local machine is displayed after disconnect from ssh --- bash/.bash_functions | 1 + 1 file changed, 1 insertion(+) diff --git a/bash/.bash_functions b/bash/.bash_functions index 8d00356..fae1b54 100644 --- a/bash/.bash_functions +++ b/bash/.bash_functions @@ -5,6 +5,7 @@ killport () { lsof -ti ":$1" | xargs kill -9; } ssh() { tmux rename-window "$*" command ssh "$@" + tmux rename-window -t${TMUX_PANE} "`hostname -s`:$0" # exit }