diff --git a/modules/fish/work.nix b/modules/fish/work.nix index b5cdcac..582192c 100644 --- a/modules/fish/work.nix +++ b/modules/fish/work.nix @@ -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 = ''