#! /bin/zsh # # this file: # https://dataswamp.org/~incal/scripts/tmux_M-o if [[ $(tmux list-panes | wc -l) == 1 ]]; then tmux split-window -v else tmux select-pane -U fi