1 2 3 4 5 6 7
#!/bin/bash host="$1" session="${2:-default}" title="${3:-tmux $session on $host}" foot --title="$title" ssh-and-tmux "$host" "$session"