mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-21 14:08:07 +01:00
add tmssh & ubuntu shortcut function
This commit is contained in:
parent
d1a241999a
commit
2b5c6fc718
2 changed files with 7 additions and 0 deletions
3
dot_config/fish/private_functions/tmssh.fish
Normal file
3
dot_config/fish/private_functions/tmssh.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function tmssh --wraps=ssh --description 'start ssh with tmux'
|
||||
ssh -t $argv 'tmux -CC new -A -s tmssh'
|
||||
end
|
4
dot_config/fish/private_functions/ubuntu.fish
Normal file
4
dot_config/fish/private_functions/ubuntu.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
function ubuntu --description 'alias ubuntu tmssh ubuntu'
|
||||
tmssh ubuntu $argv
|
||||
|
||||
end
|
Loading…
Reference in a new issue