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 }