From 5564632a77afd3a797af4845a3bfdd3472384b3b Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 8 Dec 2021 11:44:22 +0100 Subject: [PATCH] =?UTF-8?q?bash:=20ssh:=20=C3=BCbergebe=20nur=20das=20letz?= =?UTF-8?q?te=20argument=20an=20ssh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bash_extra | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bash_extra b/.bash_extra index 51373ca..b5fa250 100644 --- a/.bash_extra +++ b/.bash_extra @@ -126,7 +126,7 @@ function ssh { # benennt das aktuelle tmux-windows nach dem ssh-ziel # baut ssh-verbindung auf if [ -n "${TMUX}" ]; then - tmux rename-window "$*" + tmux rename-window ""${@: -1}"" fi command ssh "$@" }