feat(tmux): add fish completions

This commit is contained in:
Moritz Böhme 2023-07-04 11:44:55 +02:00
parent 3e8ff2e064
commit b8be6a3a4e
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
6 changed files with 77 additions and 22 deletions

View file

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