From 9d3036c73453976b32efc1a757539f2bf6ec6758 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 25 Aug 2024 21:40:36 +0200 Subject: [PATCH] frame_ --- spcd/main.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spcd/main.sh b/spcd/main.sh index bf7a353..41c996c 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -164,11 +164,11 @@ SPCD_ERROR_OS=2 SPCD_FRAME_DOWN_AND_RIGHT="╭" SPCD_FRAME_UP_AND_RIGHT="╰" -spcd_open() { +spcd_frame_open() { echo "${SPCD_FRAME_DOWN_AND_RIGHT}${*}" } -spcd_shut() { +spcd_frame_shut() { echo "${SPCD_FRAME_UP_AND_RIGHT}${*}" } @@ -1104,9 +1104,9 @@ ${SPCD_PYTHON_ALIAS} / ${spcd_stp__name}" spcd_cat() { spcd_cat__file="${1}" if [ -n "${spcd_cat__file}" ]; then - spcd_open "${spcd_cat__file}" + spcd_frame_open "${spcd_cat__file}" cat "${spcd_cat__file}" || exit - spcd_shut "${spcd_cat__file}" + spcd_frame_shut "${spcd_cat__file}" fi } @@ -1130,9 +1130,9 @@ spcd_ln_python() { spcd_ls() { spcd_ls__path="${1}" if [ -n "${spcd_ls__path}" ]; then - spcd_open "${spcd_ls__path}" + spcd_frame_open "${spcd_ls__path}" ls -a -l "${spcd_ls__path}" || exit - spcd_shut "${spcd_ls__path}" + spcd_frame_shut "${spcd_ls__path}" fi }