about summary refs log tree commit diff
path: root/nix/hosts/caladan/aliases.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/hosts/caladan/aliases.nix')
-rw-r--r--nix/hosts/caladan/aliases.nix2
1 files changed, 2 insertions, 0 deletions
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";