This commit is contained in:
Dennis 2026-01-15 16:15:23 +01:00
parent e8f4f9b430
commit 062c286cd2

View file

@ -126,14 +126,14 @@
''; '';
dbui_stg = /* fish */ '' dbui_stg = /* fish */ ''
if test "$hn" = "dnsc-work" if test "$hn" = "dnsc-work"
kill_tunnels && ssh -NL 4321:192.168.0.168:3306 otc & nvim +DBUI kill_tunnels && ssh -fNL 4321:192.168.0.168:3306 otc & nvim +DBUI
else else
echo "Only on work machine." echo "Only on work machine."
end end
''; '';
dbui_prod = /* fish */ '' dbui_prod = /* fish */ ''
if test "$hn" = "dnsc-work" if test "$hn" = "dnsc-work"
kill_tunnels && ssh -NL 4322:192.168.0.38:3306 otc-prod & nvim +DBUI kill_tunnels && ssh -fNL 4322:192.168.0.38:3306 otc-prod & nvim +DBUI
else else
echo "Only on work machine." echo "Only on work machine."
end end