#!/bin/sh # vim: set sw=4 ts=4 sts=4 et : port="$1" exec tmux new-window -a -t 'serial:{end}' -n "${port##*/}" /usr/local/libexec/serterm/connect-serial /dev/"${port}"