aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-31 10:46:39 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-31 10:46:39 +1200
commit92e7b8cd774c9cb6cf76adde9b15e15bf93dc0cc (patch)
tree039597c327ad027d888d4cb06248342297a37ea7
parent60e2c45d10f46ce308ed99e5dea45cbc9b9cd442 (diff)
downloaddotfiles-92e7b8cd774c9cb6cf76adde9b15e15bf93dc0cc.tar.gz
dotfiles-92e7b8cd774c9cb6cf76adde9b15e15bf93dc0cc.zip
Use more compatible block size for ls(1)
Ancient GNU ls(1) accepts this even if it doesn't use it in the same way a more modern one does (requiring -S to show the blocks used).
-rw-r--r--sh/shrc.d/ls.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/shrc.d/ls.sh b/sh/shrc.d/ls.sh
index a7a6e15f..b4e2d072 100644
--- a/sh/shrc.d/ls.sh
+++ b/sh/shrc.d/ls.sh
@@ -7,7 +7,7 @@ ls() {
# Add --block-size=K to always show the filesize in kibibytes
[ -e "$HOME"/.cache/ls/block-size ] &&
- set -- --block-size=K "$@"
+ set -- --block-size=1024 "$@"
# Add --classify to show trailing indicators of the filetype
[ -e "$HOME"/.cache/ls/classify ] &&