pschmitt / tmux-ssh-split

TMUX plugin to split the current pane while retaining SSH connections
GNU General Public License v3.0
74 stars 6 forks source link

SPLIT_ARGS array push when ssh-split-no-env set to false #9

Closed mrjesma closed 1 year ago

mrjesma commented 1 year ago

When @ssh-split-no-env is set to false (default value) it breaks horizontal split since SPLIT_ARGS loses all its elements to only (-e "TMUX_SSH_SPLIT=1"). Since no -h or -v parameter is passed, tmux default split is vertical

pschmitt commented 1 year ago

Well spotted. Thanks!