From a3d32583c0fde6b17a6da3067771f3532c690acb Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Mon, 29 Jan 2024 02:22:53 +0300 Subject: [PATCH] Disk : Nix fix. --- .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 3068b93..1ed89e3 100644 --- a/.config/bash/module/Disk.sh +++ b/.config/bash/module/Disk.sh @@ -1,11 +1,11 @@ # Show only physical drives info. function df() { - df --si | sed -e '1p' -e '/^\/dev\//!d' + /usr/bin/env df --si | sed -e '1p' -e '/^\/dev\//!d' } # Show combined size in SI. # Current dir by default. # Usage: du [DIRS] function du() { - du -sh --si + /usr/bin/env du -sh --si }