From 807de46d3a3cbef9a3c3c104f6db87b142e6eed5 Mon Sep 17 00:00:00 2001 From: filip <“filip.rabiega@gmail.com”> Date: Fri, 10 Oct 2025 19:10:02 +0200 Subject: used shfmt --- lsn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lsn') diff --git a/lsn b/lsn index 46abd71..b3f07ea 100755 --- a/lsn +++ b/lsn @@ -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" -- cgit v1.2.3