summaryrefslogtreecommitdiff
path: root/tmuxsh/_tmux_find_sessions,--.search.all.session.and.jump
diff options
context:
space:
mode:
Diffstat (limited to 'tmuxsh/_tmux_find_sessions,--.search.all.session.and.jump')
-rwxr-xr-xtmuxsh/_tmux_find_sessions,--.search.all.session.and.jump2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmuxsh/_tmux_find_sessions,--.search.all.session.and.jump b/tmuxsh/_tmux_find_sessions,--.search.all.session.and.jump
new file mode 100755
index 0000000..1ff9a23
--- /dev/null
+++ b/tmuxsh/_tmux_find_sessions,--.search.all.session.and.jump
@@ -0,0 +1,2 @@
+#!/usr/bin/env sh
+tmux switch-client -t "$(tmux list-sessions | fzf -e -i --prompt="Select a session: " --info=default --layout=reverse --tiebreak=index | cut -d ':' -f1)"