♻️ refactor(fish): use t as a function instead of an abbrv for tmux

This commit is contained in:
Sergio Laín 2024-09-06 01:17:57 +02:00
parent a8ed578584
commit f9188964c5
No known key found for this signature in database
GPG key ID: 8429B2EE312F8150
2 changed files with 3 additions and 1 deletions

View file

@ -1,4 +1,3 @@
abbr -a y yadm abbr -a y yadm
abbr -a g git abbr -a g git
abbr -a d docker abbr -a d docker
abbr -a t tmux

View file

@ -0,0 +1,3 @@
function t --wraps=tmux --description 'alias t=tmux'
tmux attach >/dev/null 2>&1 || tmux $argv
end