Compare commits
3 commits
164420d418
...
5928a2fdcc
Author | SHA1 | Date | |
---|---|---|---|
5928a2fdcc | |||
1c1a60bc64 | |||
d021f61997 |
1 changed files with 5 additions and 4 deletions
|
@ -143,11 +143,11 @@ _SPCD_FRAME_TOP="${_SPCD_BOX_DOWN_AND_RIGHT}${_SPCD_BOX_LEFT}"
|
|||
_SPCD_FRAME_BOTTOM="${_SPCD_BOX_UP_AND_RIGHT}${_SPCD_BOX_LEFT}"
|
||||
|
||||
_spcd_frame_open() {
|
||||
echo "${_SPCD_FRAME_TOP}${1}"
|
||||
echo "${_SPCD_FRAME_TOP}${*}"
|
||||
}
|
||||
|
||||
_spcd_frame_shut() {
|
||||
echo "${_SPCD_FRAME_BOTTOM}${1}"
|
||||
echo "${_SPCD_FRAME_BOTTOM}${*}"
|
||||
}
|
||||
|
||||
# ╭───┬────╮
|
||||
|
@ -249,8 +249,9 @@ nameserver ${value}
|
|||
|
||||
spcd_eval() {
|
||||
if [ -n "${1}" ]; then
|
||||
echo "${@}"
|
||||
eval "${@}"
|
||||
_spcd_frame_open "${@}"
|
||||
"${@}"
|
||||
_spcd_frame_shut "${@}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue