diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index d78577b..f55eae8 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -163,15 +163,15 @@ SPCD_ERROR_OS=2 # │ internal │ frame │ # ╰──────────┴───────╯ -SPCD_FRAME_TOP="╭╴" -SPCD_FRAME_BOTTOM="╰╴" +_SPCD_FRAME_TOP="╭╴" +_SPCD_FRAME_BOTTOM="╰╴" -spcd_frame_open() { - echo "${SPCD_FRAME_TOP}${1}" +_spcd_frame_open() { + echo "${_SPCD_FRAME_TOP}${1}" } -spcd_frame_shut() { - echo "${SPCD_FRAME_BOTTOM}${1}" +_spcd_frame_shut() { + echo "${_SPCD_FRAME_BOTTOM}${1}" } # ╭──────────┬────╮ @@ -181,9 +181,9 @@ spcd_frame_shut() { spcd_os_cat() { spcd_cat__file="${1}" if [ -n "${spcd_cat__file}" ]; then - spcd_frame_open "${spcd_cat__file}" + _spcd_frame_open "${spcd_cat__file}" cat "${spcd_cat__file}" - spcd_frame_shut "${spcd_cat__file}" + _spcd_frame_shut "${spcd_cat__file}" fi } @@ -277,9 +277,9 @@ spcd_os_grep() { spcd_os_ls() { spcd_os_ls__path="${1}" if [ -n "${spcd_os_ls__path}" ]; then - spcd_frame_open "${spcd_os_ls__path}" + _spcd_frame_open "${spcd_os_ls__path}" ls -a -l "${spcd_os_ls__path}" - spcd_frame_shut "${spcd_os_ls__path}" + _spcd_frame_shut "${spcd_os_ls__path}" fi }