changed scope of tmux_repl_id
from global
to current
By setting the tmux_repl_id in the `current` scope it is possible to have different REPLs for different buffers or windows.
This commit is contained in:
parent
9a5cf2fc9f
commit
9955cfdd8d
|
@ -19,7 +19,7 @@ define-command -hidden -params 1.. tmux-repl-impl %{
|
||||||
tmux_args="$1"
|
tmux_args="$1"
|
||||||
shift
|
shift
|
||||||
tmux $tmux_args "$@"
|
tmux $tmux_args "$@"
|
||||||
printf "set-option global tmux_repl_id '%s'" $(tmux display-message -p '#{session_id}:#{window_id}.#{pane_id}')
|
printf "set-option current tmux_repl_id '%s'" $(tmux display-message -p '#{session_id}:#{window_id}.#{pane_id}')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user