diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-31 10:46:39 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-31 10:46:39 +1200 |
commit | 92e7b8cd774c9cb6cf76adde9b15e15bf93dc0cc (patch) | |
tree | 039597c327ad027d888d4cb06248342297a37ea7 /sh/shrc.d | |
parent | Make comment on BROWSER more useful (diff) | |
download | dotfiles-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).
Diffstat (limited to 'sh/shrc.d')
-rw-r--r-- | sh/shrc.d/ls.sh | 2 |
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 ] && |