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) --- packages | 2 +- user/settings/fish.nix | 2 +- user/settings/shell.nix | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages b/packages index 37a4d86b..951422f9 160000 --- a/packages +++ b/packages @@ -1 +1 @@ -Subproject commit 37a4d86b7ab22d689577446be45b2b4106cf8bb2 +Subproject commit 951422f947dec61a2416b3e1f86639a7dcb5b9ba 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