10 lines
179 B
Bash
10 lines
179 B
Bash
|
# Kill process by port
|
||
|
killport () { lsof -ti ":$1" | xargs kill -9; }
|
||
|
|
||
|
# Rename tmux window after ssh session
|
||
|
ssh() {
|
||
|
tmux rename-window "$*"
|
||
|
command ssh "$@"
|
||
|
exit
|
||
|
}
|