From: Nicolas Boisselier Date: Sun, 17 Feb 2019 22:15:04 +0000 (+0000) Subject: etc/profile.d/sys.sh X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=634a5b0a103cb103b3de4cd420ca62285fa16bf3;p=nb.git etc/profile.d/sys.sh --- diff --git a/etc/profile.d/sys.sh b/etc/profile.d/sys.sh index 925011ff..d42690ce 100644 --- a/etc/profile.d/sys.sh +++ b/etc/profile.d/sys.sh @@ -40,7 +40,7 @@ sys_arch() { } sys_df() { - df -k -l | tail -n +2 | while read -r -a i; do + df -h -l | tail -n +2 | while read -r -a i; do mount=${i[0]} used=${i[2]} free=${i[3]}