dotfiles/fish/.config/fish/functions/ta.fish

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
197 B
Fish
Raw Normal View History

function ta --description 'Attaches to a selected session'
set session (tmux list-sessions | fzf | awk -F':' '{print $1}')
if test -n "$session"
tmux attach -t $session
end
end