mv
This commit is contained in:
parent
c3d75dacd6
commit
da082a177e
1 changed files with 8 additions and 9 deletions
17
spcd/main.sh
17
spcd/main.sh
|
@ -176,6 +176,14 @@ spcd_frame_shut() {
|
||||||
# │ internal │ os │
|
# │ internal │ os │
|
||||||
# ╰──────────┴────╯
|
# ╰──────────┴────╯
|
||||||
|
|
||||||
|
spcd_os_cat() {
|
||||||
|
spcd_cat__file="${1}"
|
||||||
|
if [ -n "${spcd_cat__file}" ]; then
|
||||||
|
spcd_frame_open "${spcd_cat__file}"
|
||||||
|
cat "${spcd_cat__file}" || exit
|
||||||
|
spcd_frame_shut "${spcd_cat__file}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
# ╭──────────┬──────╮
|
# ╭──────────┬──────╮
|
||||||
# │ internal │ rule │
|
# │ internal │ rule │
|
||||||
|
@ -1149,15 +1157,6 @@ ${SPCD_PYTHON_ALIAS} / ${spcd_stp__name}"
|
||||||
# │ functions │
|
# │ functions │
|
||||||
# ╰───────────╯
|
# ╰───────────╯
|
||||||
|
|
||||||
spcd_os_cat() {
|
|
||||||
spcd_cat__file="${1}"
|
|
||||||
if [ -n "${spcd_cat__file}" ]; then
|
|
||||||
spcd_frame_open "${spcd_cat__file}"
|
|
||||||
cat "${spcd_cat__file}" || exit
|
|
||||||
spcd_frame_shut "${spcd_cat__file}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
spcd_install_package() {
|
spcd_install_package() {
|
||||||
spcd_install_package__name="${1}"
|
spcd_install_package__name="${1}"
|
||||||
if [ -n "${spcd_install_package__name}" ]; then
|
if [ -n "${spcd_install_package__name}" ]; then
|
||||||
|
|
Loading…
Reference in a new issue