fish: functions/ta: Rename to ta & allow selection via fzf

This commit is contained in:
Sanchayan Maity 2022-03-16 20:17:05 +05:30
parent 6fde5418c2
commit f99925d532
2 changed files with 4 additions and 3 deletions

View file

@ -0,0 +1,4 @@
function ta --description 'Attaches to a selected session'
set session (tmux list-sessions | fzf | awk -F':' '{print $1}')
tmux attach -t $session;
end

View file

@ -1,3 +0,0 @@
function tat --wraps='tmux attach -t ' --description 'alias tat=tmux attach -t '
tmux attach -t $argv;
end