diff options
author | filip <“filip.rabiega@gmail.com”> | 2025-10-10 19:10:02 +0200 |
---|---|---|
committer | filip <“filip.rabiega@gmail.com”> | 2025-10-10 19:10:02 +0200 |
commit | 807de46d3a3cbef9a3c3c104f6db87b142e6eed5 (patch) | |
tree | 61a1a9bc26daad623ce6c04bb66ae39133ef0261 /lsn | |
parent | 08204fc9b9f63015a1dc083b471c6839818eeb59 (diff) | |
download | chadscripts-807de46d3a3cbef9a3c3c104f6db87b142e6eed5.tar.gz chadscripts-807de46d3a3cbef9a3c3c104f6db87b142e6eed5.tar.bz2 chadscripts-807de46d3a3cbef9a3c3c104f6db87b142e6eed5.zip |
used shfmt
Diffstat (limited to 'lsn')
-rwxr-xr-x | lsn | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,12 +2,12 @@ # New and better ls # TODO: fix simlinks, flags break them for some reason -ls_new () { - LC_ALL=C $( which ls ) -lAFh --color=always "$1" | awk '{ +ls_new() { + LC_ALL=C $(which ls) -lAFh --color=always "$1" | awk '{ name = $9; for (i = 10; i <= NF; i++) name = name " " $i; print $1, $5, name - }' | column -t -l 3 -s ' '| tail -n +2 + }' | column -t -l 3 -s ' ' | tail -n +2 } dir="$1" |