From facfda9a670bc847a4e5737cd41e6faf681dd552 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Fri, 10 Nov 2023 09:40:41 +0100 Subject: [PATCH] Alias for du --- nushell/config.nu | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nushell/config.nu b/nushell/config.nu index 897b5af..e30c02c 100644 --- a/nushell/config.nu +++ b/nushell/config.nu @@ -130,6 +130,12 @@ def ll [dir?: string] { | select mode name target user size modified } +# cool du (don't display everything) +alias _du = du +def du [...args] { + $args | each { _du $in } | select path apparent physical +} + # cool df def df [] { ^df -h