fixes existing commands

This commit is contained in:
Dennis 2026-01-22 12:32:43 +01:00
parent 268d20f94d
commit 0d68849f1b

View file

@ -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