This commit is contained in:
Marc Beninca 2024-08-25 22:43:08 +02:00
parent c3d75dacd6
commit da082a177e
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -176,6 +176,14 @@ spcd_frame_shut() {
# │ 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 │
@ -1149,15 +1157,6 @@ ${SPCD_PYTHON_ALIAS} / ${spcd_stp__name}"
# │ 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__name="${1}"
if [ -n "${spcd_install_package__name}" ]; then