https://www.it1352.com/1873377.html
#!/bin/sh if [ -n "$TMUX" ]; then case "$1" in prod_*) tmux selectp -P bg=red ;; esac fi ssh "$@" tmux selectp -P default
本文来自博客园,作者:dolinux,未经同意,禁止转载