aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tmux/.local/bin/tmux-sessions
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-07-01 13:09:13 -0500
committerToby Vincent <tobyv13@gmail.com>2023-07-01 13:09:41 -0500
commitce32b2fcac07d423e96c3585d488ee5eeebce235 (patch)
tree0e2ad50c0ab7b6efaff897f9b7d9d37e80eca443 /tmux/.local/bin/tmux-sessions
parentb36ef9f204e4ba9cf1dc0bbcaf68b7f6f8aed039 (diff)
fix(tmux): improve display of paths
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