From 0baff7265673780d68ee8641b9107db535918172 Mon Sep 17 00:00:00 2001 From: home Date: Sat, 25 Nov 2023 21:35:05 +0300 Subject: [PATCH] ls : lll accept dash as a default depth. --- .config/bash/module/ls.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/bash/module/ls.sh b/.config/bash/module/ls.sh index 968af32..84b71ee 100644 --- a/.config/bash/module/ls.sh +++ b/.config/bash/module/ls.sh @@ -24,6 +24,7 @@ lll() [[ "${target}" = "" ]] && target="." [[ "${depth}" = "" ]] && depth=666 + [[ "${depth}" = "-" ]] && depth=666 tree -a -L "${depth}" -- "${target[@]}" }