From 482e03429e03f36cb79079f22cb2c07f7a051caa Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 20 Mar 2025 09:57:13 +0100 Subject: add dirstat-rs (alias ds) --- user/settings/fish.nix | 2 +- user/settings/shell.nix | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'user') diff --git a/user/settings/fish.nix b/user/settings/fish.nix index 574c74d3..7695504a 100644 --- a/user/settings/fish.nix +++ b/user/settings/fish.nix @@ -50,7 +50,7 @@ }; }; functions = { - ds = "du -hd1 $argv[1] | sort -h"; + dus = "du -hd1 $argv[1] | sort -h"; last_history_item = "echo $history[1]"; }; }; diff --git a/user/settings/shell.nix b/user/settings/shell.nix index 9807169d..cc436038 100644 --- a/user/settings/shell.nix +++ b/user/settings/shell.nix @@ -31,6 +31,7 @@ in cg = "cd $(git root)"; cdg = "cd $(git root)"; + ds = "dirstat-rs"; fs = "bfs -nohidden"; http = "xh"; @@ -144,6 +145,7 @@ in }; }; home.packages = with pkgs; [ + personal.dirstat-rs fzf ]; } -- cgit 1.4.1