From 433d917578234ac8fe5fd32e44b05caa764eb373 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 4 May 2024 10:30:33 +0200 Subject: [PATCH] cd_ls --- cd.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cd.sh b/cd.sh index 132019a..72ea9e5 100644 --- a/cd.sh +++ b/cd.sh @@ -374,6 +374,13 @@ cd_ln_python () { fi } +cd_ls () { + if [ "${1}" ] ; then + echo "╭╴$(realpath "${1}")" + ls --all -l "${1}" || exit + fi +} + cd_mkdir () { if [ "${1}" ] ; then echo "→ ${1}"