bash: ssh ergänzt
Signed-off-by: mg <michael.grote@posteo.de>
This commit is contained in:
parent
701a77f7e8
commit
84988e47ea
1 changed files with 3 additions and 0 deletions
|
@ -130,6 +130,9 @@ function ssh {
|
||||||
tmux rename-window ""${@: -1}""
|
tmux rename-window ""${@: -1}""
|
||||||
fi
|
fi
|
||||||
command ssh "$@"
|
command ssh "$@"
|
||||||
|
if [ -n "${TMUX}" ]; then
|
||||||
|
tmux rename-window "`hostname -f`"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
function gcm {
|
function gcm {
|
||||||
# übergibt alle argumente an git commit -m als commit nachricht
|
# übergibt alle argumente an git commit -m als commit nachricht
|
||||||
|
|
Loading…
Reference in a new issue