add dirstat-rs (alias ds)
Alan Pearce alan@alanpearce.eu
Thu, 20 Mar 2025 09:57:13 +0100
2 files changed, 3 insertions(+), 1 deletions(-)
M user/settings/fish.nix → user/settings/fish.nix
@@ -50,7 +50,7 @@ function = "last_history_item"; }; }; functions = { - ds = "du -hd1 $argv[1] | sort -h"; + dus = "du -hd1 $argv[1] | sort -h"; last_history_item = "echo $history[1]"; }; };
M user/settings/shell.nix → user/settings/shell.nix
@@ -31,6 +31,7 @@ "c," = "cd ${config.home.homeDirectory + "/projects/alanpearce.eu/nixfiles"}"; cg = "cd $(git root)"; cdg = "cd $(git root)"; + ds = "dirstat-rs"; fs = "bfs -nohidden"; http = "xh"; @@ -144,6 +145,7 @@ sngc = "sudo nix-collect-garbage --delete-older-than 30d"; }; }; home.packages = with pkgs; [ + personal.dirstat-rs fzf ]; }