diff --git a/dot_config/fish/private_functions/tmssh.fish b/dot_config/fish/private_functions/tmssh.fish new file mode 100644 index 0000000..e40f720 --- /dev/null +++ b/dot_config/fish/private_functions/tmssh.fish @@ -0,0 +1,3 @@ +function tmssh --wraps=ssh --description 'start ssh with tmux' +ssh -t $argv 'tmux -CC new -A -s tmssh' +end diff --git a/dot_config/fish/private_functions/ubuntu.fish b/dot_config/fish/private_functions/ubuntu.fish new file mode 100644 index 0000000..8b04149 --- /dev/null +++ b/dot_config/fish/private_functions/ubuntu.fish @@ -0,0 +1,4 @@ +function ubuntu --description 'alias ubuntu tmssh ubuntu' + tmssh ubuntu $argv + +end