aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/.functions b/.functions
index 5cea08b..93356f9 100644
--- a/.functions
+++ b/.functions
@@ -5,10 +5,10 @@ function mkd() {
# Determine size of a file or total size of a directory
function fs() {
- if du -shb /dev/null > /dev/null 2>&1; then
+ if du -b /dev/null > /dev/null 2>&1; then
local arg=-sbh
else
- local arg=-skh
+ local arg=-sh
fi
if [[ -n "$@" ]]; then
du $arg -- "$@"