1
0
Fork 0
mirror of synced 2024-12-21 22:31:06 -05:00

reworked pane / tty introspection (4), fixes #535

fixed _split_window_ssh()
This commit is contained in:
Gregory Pakosz 2021-11-19 12:06:17 +01:00
parent 618fd66b6f
commit 0fe760fa6d

View file

@ -684,7 +684,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
# _split_window_ssh() { # _split_window_ssh() {
# pane_pid=${1:-$(tmux display -p '#{pane_pid}')} # pane_pid=${1:-$(tmux display -p '#{pane_pid}')}
# pane_tty=${2:-$(tmux display -p '#{b:pane_tty}')} # pane_tty=${2:-$(tmux display -p '#{b:pane_tty}')}
# shift # shift 2
# #
# pane_info=$(_pane_info "$pane_pid" "$pane_tty") # pane_info=$(_pane_info "$pane_pid" "$pane_tty")
# command=${pane_info#*:} # command=${pane_info#*:}