diff options
author | Dominik Porada <porada@me.com> | 2012-08-31 04:33:33 +0300 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2012-08-31 11:16:37 +0200 |
commit | 0e6b837e773f0d956b6807e0fb01a7dcd1a340df (patch) | |
tree | 294d2130be6195748e210602d807cd68a9534727 | |
parent | cf7db9c3672f40323f34f3987d6e420ae999cf56 (diff) | |
download | dotfiles-0e6b837e773f0d956b6807e0fb01a7dcd1a340df.tar.gz dotfiles-0e6b837e773f0d956b6807e0fb01a7dcd1a340df.tar.bz2 dotfiles-0e6b837e773f0d956b6807e0fb01a7dcd1a340df.zip |
.functions: Tweak `fs`
-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 -- "$@" |