From 0d68849f1be3a54b5d2956da74006819194e60f4 Mon Sep 17 00:00:00 2001 From: Dennis Date: Thu, 22 Jan 2026 12:32:43 +0100 Subject: [PATCH] fixes existing commands --- modules/fish/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/fish/default.nix b/modules/fish/default.nix index 86489d7..37d41d7 100644 --- a/modules/fish/default.nix +++ b/modules/fish/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ ... }: { programs.fish = { @@ -8,6 +8,9 @@ fish_greeting = "fortune -a"; localip = "ifconfig | grep \"inet \" | grep -v 127.0.0.1 | awk '{print $2}' | head -n 1"; publicip = "curl -4 ifconfig.me"; + kill_tunnels = /* fish */ '' + ps -o pid,command | grep "^[0-9]\{4,5\} ssh -fNL" | awk '{print $1}' | xargs kill -9 + ''; dev_projects = /* fish */ '' if test "$hn" = "dnsc-work" begin