Merge remote-tracking branch 'listentolist/tmux-repl' into master

This commit is contained in:
Maxime Coste 2020-11-08 14:53:38 +11:00
commit 6cf3c13d97

View File

@ -19,7 +19,7 @@ define-command -hidden -params 1.. tmux-repl-impl %{
tmux_args="$1"
shift
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}')
}
}