adds dbui functions and kill_tunnels helper
This commit is contained in:
parent
27eadc7cda
commit
3f6efa362f
1 changed files with 9 additions and 0 deletions
|
|
@ -129,6 +129,15 @@
|
|||
|
||||
command fzf
|
||||
'';
|
||||
dbui_stg = ''
|
||||
ssh -NL 4321:192.168.0.168:3306 otc & nvim +DBUI
|
||||
'';
|
||||
dbui_prod = ''
|
||||
ssh -NL 4322:192.168.0.38:3306 otc-prod & nvim +DBUI
|
||||
'';
|
||||
kill_tunnels = ''
|
||||
ps -o pid,command | grep "^[0-9]\{4,5\} ssh -N?L" | awk '{print $1}' | xargs kill -9
|
||||
'';
|
||||
};
|
||||
|
||||
interactiveShellInit = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue