add tmssh & ubuntu shortcut function

This commit is contained in:
Gabriel Augendre 2024-11-20 03:23:39 +01:00
parent d1a241999a
commit 2b5c6fc718
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1,3 @@
function tmssh --wraps=ssh --description 'start ssh with tmux'
ssh -t $argv 'tmux -CC new -A -s tmssh'
end

View file

@ -0,0 +1,4 @@
function ubuntu --description 'alias ubuntu tmssh ubuntu'
tmssh ubuntu $argv
end