feat(fish): new functions for trash and tmux

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

View file

@ -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

View file

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

View file

@ -0,0 +1,3 @@
function tr --wraps=trash --description 'alias tr=trash'
trash $argv
end