♻️ refactor(fish): use t as a function instead of an abbrv for tmux
This commit is contained in:
parent
a8ed578584
commit
f9188964c5
2 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,3 @@
|
|||
abbr -a y yadm
|
||||
abbr -a g git
|
||||
abbr -a d docker
|
||||
abbr -a t tmux
|
||||
|
|
3
.config/fish/functions/t.fish
Normal file
3
.config/fish/functions/t.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function t --wraps=tmux --description 'alias t=tmux'
|
||||
tmux attach >/dev/null 2>&1 || tmux $argv
|
||||
end
|
Loading…
Add table
Reference in a new issue