dotfiles/modules/programs/tmux/tmux-attach/script.fish

6 lines
144 B
Fish
Raw Normal View History

2023-07-04 11:44:55 +02:00
set selected (tmux list-sessions -F '#{session_name}' 2>/dev/null | fzf1 $argv)
if not test -n "$selected"
exit 1
end
tmux-switch "$selected"