bash: subshell ssh

This commit is contained in:
Michael Grote 2022-09-01 12:59:49 +02:00
parent d2701556e9
commit 1d86fdd6d8

View file

@ -152,7 +152,7 @@ function ssh {
fi
command ssh "$@"
if [ -n "${TMUX}" ]; then
tmux rename-window "`hostname -f`"
tmux rename-window "$(hostname -f)"
fi
}
function gcm {