From 92e7b8cd774c9cb6cf76adde9b15e15bf93dc0cc Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 31 Aug 2016 10:46:39 +1200 Subject: 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). --- sh/shrc.d/ls.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ] && -- cgit v1.2.3