From ae2c3c95579f89b6df3861affe8d4bb825312697 Mon Sep 17 00:00:00 2001 From: mc-fucker Date: Sun, 25 Sep 2022 02:17:08 +0200 Subject: [PATCH] added d and dfr aliases --- modules/zsh.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/zsh.nix b/modules/zsh.nix index 6d3cbe5..c19e837 100644 --- a/modules/zsh.nix +++ b/modules/zsh.nix @@ -26,6 +26,8 @@ with import {}; "nt" = "(cd /tmp && nixos-rebuild test)"; "ns" = "nixos-rebuild switch"; "nsu" = "nixos-rebuild switch --upgrade"; + "dfr" = "df -h | head -n +1; df -h | tail -n +2 | sort -nrk5"; + "d" = ''du -ahx "$PWD" --exclude=/proc| sort -rh 2>/dev/null |head -40 | sort -rh 2>/dev/null''; }; } # vim: set et ts=2 sw=2 ai: