I use different tmux colors for different environments so I know where I'm at instantly.
[1]https://medium.com/@victormours/a-better-nerdtree-setup-3d39...
alias liveTerm='urxvt -bg "#5b0000" -fb white &'
-fg white
declare -A TMUX_SSH_COLORS_TABLE TMUX_SSH_COLORS_TABLE=( \ ["server"]="fg=yellow bold,bg=black" \ ["router"]="fg=red bold,bg=black" \ ["desktop"]="fg=white bold,bg=black" \ ) function ssh { trap 'tmux select-pane -t:. -P "default"' RETURN for arg; do local arg_value="${TMUX_SSH_COLORS_TABLE[$arg]}" [[ -n "${arg_value}" ]] && tmux select-pane -t:. -P "${arg_value}" break done /usr/bin/ssh "$@" }
I use different tmux colors for different environments so I know where I'm at instantly.
[1]https://medium.com/@victormours/a-better-nerdtree-setup-3d39...