spcd_banner
This commit is contained in:
parent
3660bd23a2
commit
96a35fdc8e
1 changed files with 8 additions and 4 deletions
12
spcd.sh
12
spcd.sh
|
@ -827,6 +827,13 @@ ${SPCD_PYTHON_ALIAS} / ${spcd_stp__name}"
|
|||
|
||||
# functions
|
||||
|
||||
spcd_banner() {
|
||||
echo "\
|
||||
${SPCD_DOWN}
|
||||
${SPCD_VERT} ${*}
|
||||
${SPCD___UP}"
|
||||
}
|
||||
|
||||
spcd_cat() {
|
||||
spcd_cat__file="${1}"
|
||||
if [ -n "${spcd_cat__file}" ]; then
|
||||
|
@ -945,10 +952,7 @@ spcd_split() {
|
|||
spcd_step() {
|
||||
SPCD_STEP=$((SPCD_STEP + 1))
|
||||
SPCD_STEP_TEXT="${*}"
|
||||
echo "\
|
||||
${SPCD_DOWN}
|
||||
${SPCD_VERT} ${SPCD_STEP} ${SPCD_STEP_TEXT}
|
||||
${SPCD___UP}"
|
||||
spcd_banner "${SPCD_STEP}" "${SPCD_STEP_TEXT}"
|
||||
}
|
||||
|
||||
spcd_write() {
|
||||
|
|
Loading…
Reference in a new issue