frame_
This commit is contained in:
parent
1876bb50cb
commit
9d3036c734
1 changed files with 6 additions and 6 deletions
12
spcd/main.sh
12
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue