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

6 lines
153 B
Fish
Raw Normal View History

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