✨ feat(fish): new functions for trash and tmux
This commit is contained in:
parent
f9188964c5
commit
9f3dd618dc
3 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
||||||
function t --wraps=tmux --description 'alias t=tmux'
|
function t --wraps=tmux --description 'alias t=tmux'
|
||||||
tmux attach >/dev/null 2>&1 || tmux $argv
|
tmux attach >/dev/null 2>&1 || tmux new-session $argv
|
||||||
end
|
end
|
||||||
|
|
3
.config/fish/functions/ta.fish
Normal file
3
.config/fish/functions/ta.fish
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
function ta --wraps='tmux attach -t' --description 'alias ta=tmux attach -t'
|
||||||
|
tmux attach -t $argv
|
||||||
|
end
|
3
.config/fish/functions/tr.fish
Normal file
3
.config/fish/functions/tr.fish
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
function tr --wraps=trash --description 'alias tr=trash'
|
||||||
|
trash $argv
|
||||||
|
end
|
Loading…
Add table
Reference in a new issue