From d47ba3d4f9138a930fa1d6a20324245391481dd5 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 25 Aug 2024 22:47:21 +0200 Subject: [PATCH] spcd_os_ls --- spcd/main.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/spcd/main.sh b/spcd/main.sh index 8e25da0..933c0d7 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -831,7 +831,7 @@ ${SPCD_PYTHON_VENV}/lib/${SPCD_PYTHON_COMMAND}/site-packages" spcd_list_working_directory() { spcd_step "List working directory" spcd_lwd__path="$(realpath .)" - spcd_ls "${spcd_lwd__path}" + spcd_os_ls "${spcd_lwd__path}" } # ╭───────┬─────╮ @@ -1040,7 +1040,7 @@ spcd_install_python_modules() { spcd_step_in "Python modules" spcd_ipm__target="${SPCD_PYTHON_VENV_PACKAGES}" spcd_step "List" - spcd_ls "${spcd_ipm__target}" + spcd_os_ls "${spcd_ipm__target}" spcd_step "Main" spcd_ipm__path="$(spcd_pip_install "${SPCD_GIT_MAIN}")" # check matching of file and variable @@ -1057,7 +1057,7 @@ spcd_install_python_modules() { spcd_step "Root" spcd_pip_install "${SPCD_GIT_ROOT}" spcd_step "List" - spcd_ls "${spcd_ipm__target}" + spcd_os_ls "${spcd_ipm__target}" spcd_step_out } @@ -1174,12 +1174,12 @@ spcd_ln_python() { fi } -spcd_ls() { - spcd_ls__path="${1}" - if [ -n "${spcd_ls__path}" ]; then - spcd_frame_open "${spcd_ls__path}" - ls -a -l "${spcd_ls__path}" || exit - spcd_frame_shut "${spcd_ls__path}" +spcd_os_ls() { + spcd_os_ls__path="${1}" + if [ -n "${spcd_os_ls__path}" ]; then + spcd_frame_open "${spcd_os_ls__path}" + ls -a -l "${spcd_os_ls__path}" + spcd_frame_shut "${spcd_os_ls__path}" fi }