bash: ssh ergänzt

Signed-off-by: mg <michael.grote@posteo.de>
This commit is contained in:
Michael Grote 2022-02-08 09:12:25 +01:00
parent 701a77f7e8
commit 84988e47ea

View file

@ -130,6 +130,9 @@ function ssh {
tmux rename-window ""${@: -1}""
fi
command ssh "$@"
if [ -n "${TMUX}" ]; then
tmux rename-window "`hostname -f`"
fi
}
function gcm {
# übergibt alle argumente an git commit -m als commit nachricht