5 lines
144 B
Fish
5 lines
144 B
Fish
set selected (tmux list-sessions -F '#{session_name}' 2>/dev/null | fzf1 $argv)
|
|
if not test -n "$selected"
|
|
exit 1
|
|
end
|
|
tmux-switch "$selected"
|