aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Porada <porada@me.com>2012-08-31 04:33:33 +0300
committerMathias Bynens <mathias@qiwi.be>2012-08-31 11:16:37 +0200
commit0e6b837e773f0d956b6807e0fb01a7dcd1a340df (patch)
tree294d2130be6195748e210602d807cd68a9534727
parentcf7db9c3672f40323f34f3987d6e420ae999cf56 (diff)
downloaddotfiles-0e6b837e773f0d956b6807e0fb01a7dcd1a340df.tar.gz
dotfiles-0e6b837e773f0d956b6807e0fb01a7dcd1a340df.tar.bz2
dotfiles-0e6b837e773f0d956b6807e0fb01a7dcd1a340df.zip
.functions: Tweak `fs`
-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 -- "$@"