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