diff options
-rw-r--r-- | .functions | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 -- "$@" |