diff --git a/.linux/bash/module/disk.sh b/.linux/bash/module/disk.sh index c4d1f3b..377edd9 100644 --- a/.linux/bash/module/disk.sh +++ b/.linux/bash/module/disk.sh @@ -1,5 +1,5 @@ # show only physical drive sizes. -alias df='df --si | sed -e "/^tmpfs/d" -e "/^udev/d" -e "/\.Private/d" -e "/^overlay/d" -e "/^shm/d" -e "/^devtmpfs/d"' +alias df='df --si | sed -e '1p' -e "/^\/dev\//!d"' # show combined size in SI. alias du="du -sh --si"