diff options
author | filip <“filip.rabiega@gmail.com”> | 2025-10-10 18:37:10 +0200 |
---|---|---|
committer | filip <“filip.rabiega@gmail.com”> | 2025-10-10 18:37:10 +0200 |
commit | 08204fc9b9f63015a1dc083b471c6839818eeb59 (patch) | |
tree | 3b68ffffe45759f82cebb24fbeaecf3e66aec7a1 /ls_new | |
parent | 9535dd8f8ac46335f75d42b773cf0fa9305a722d (diff) | |
download | chadscripts-08204fc9b9f63015a1dc083b471c6839818eeb59.tar.gz chadscripts-08204fc9b9f63015a1dc083b471c6839818eeb59.tar.bz2 chadscripts-08204fc9b9f63015a1dc083b471c6839818eeb59.zip |
new stuff
Diffstat (limited to 'ls_new')
-rwxr-xr-x | ls_new | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -1,14 +0,0 @@ -#!/bin/sh - -# New and better ls -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 -} - -dir="$1" -[ -z "$1" ] && dir="$(pwd)" -ls_new "$dir" |