aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tmux/.local/bin/tmux-sessions
diff options
context:
space:
mode:
Diffstat (limited to 'tmux/.local/bin/tmux-sessions')
-rwxr-xr-xtmux/.local/bin/tmux-sessions1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux/.local/bin/tmux-sessions b/tmux/.local/bin/tmux-sessions
index 8a7a458..a6b3c48 100755
--- a/tmux/.local/bin/tmux-sessions
+++ b/tmux/.local/bin/tmux-sessions
@@ -8,6 +8,7 @@ if [ "$#" -eq 0 ]; then
$FZF_CMD |
fzf-tmux "$FZF_TMUX_OPTS" -- --tac --select-1 --exit-0 \
--bind "ctrl-q:execute(tmux kill-session -t{})+reload($FZF_CMD)" \
+ --bind 'focus:transform-header(tmux display -t{} -p "#{session_path}")' \
--preview-window=right,80% --preview='tmux capture-pane -ep -t{}:'
)
fi