From a4ab9861dbfe71148b6de786ac35d6013d200e10 Mon Sep 17 00:00:00 2001 From: Emile Date: Tue, 3 Dec 2024 21:58:14 +0100 Subject: (caladan) new alias delete-empty --- nix/hosts/caladan/aliases.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nix/hosts/caladan/aliases.nix b/nix/hosts/caladan/aliases.nix index a48d403..d65bc14 100644 --- a/nix/hosts/caladan/aliases.nix +++ b/nix/hosts/caladan/aliases.nix @@ -26,6 +26,8 @@ grep = "grep --color=auto"; nix-stray-roots = ''nix-store --gc --print-roots | egrep -v "^(/nix/var|/run/w+-system|{memory)"''; + delete-empty = "sed -r '/^\s*$/d'"; + holdmybeer = "sudo "; servethis = "python3 -m http.server"; -- cgit 1.4.1