frame
This commit is contained in:
parent
5bc53b317c
commit
1876bb50cb
1 changed files with 15 additions and 8 deletions
23
spcd/main.sh
23
spcd/main.sh
|
@ -157,6 +157,21 @@ spcd_banner_unset() {
|
|||
SPCD_ERROR_CI=1
|
||||
SPCD_ERROR_OS=2
|
||||
|
||||
# ╭──────────┬───────╮
|
||||
# │ internal │ frame │
|
||||
# ╰──────────┴───────╯
|
||||
|
||||
SPCD_FRAME_DOWN_AND_RIGHT="╭"
|
||||
SPCD_FRAME_UP_AND_RIGHT="╰"
|
||||
|
||||
spcd_open() {
|
||||
echo "${SPCD_FRAME_DOWN_AND_RIGHT}${*}"
|
||||
}
|
||||
|
||||
spcd_shut() {
|
||||
echo "${SPCD_FRAME_UP_AND_RIGHT}${*}"
|
||||
}
|
||||
|
||||
# ╭──────────┬──────╮
|
||||
# │ internal │ step │
|
||||
# ╰──────────┴──────╯
|
||||
|
@ -1121,10 +1136,6 @@ spcd_ls() {
|
|||
fi
|
||||
}
|
||||
|
||||
spcd_open() {
|
||||
echo "${SPCD_OPEN}${*}"
|
||||
}
|
||||
|
||||
spcd_openssl() {
|
||||
spcd_openssl__file="${1}"
|
||||
if [ -f "${spcd_openssl__file}" ]; then
|
||||
|
@ -1158,10 +1169,6 @@ spcd_sed() {
|
|||
fi
|
||||
}
|
||||
|
||||
spcd_shut() {
|
||||
echo "${SPCD_SHUT}${*}"
|
||||
}
|
||||
|
||||
spcd_split() {
|
||||
echo "${SPCD_SPLT}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue