From 10c469c9a16e16b149313ae4b40bca39cc08c5c7 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 7 Feb 2024 23:21:04 +0300 Subject: [PATCH] Disk : Fix tdu params. --- .config/bash/module/Disk.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/bash/module/Disk.sh b/.config/bash/module/Disk.sh index 2e8cd54..2e78cc2 100644 --- a/.config/bash/module/Disk.sh +++ b/.config/bash/module/Disk.sh @@ -1,11 +1,11 @@ # Show only physical drives info. function pdf() { - /usr/bin/env df --si | sed -e '1p' -e '/^\/dev\//!d' + df --si | sed -e '1p' -e '/^\/dev\//!d' } # Show total size in SI. # Current dir by default. # Usage: tdu [DIRS] function tdu() { - /usr/bin/env du -sh --si + du -sh --si "${@}" }