diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 26bfeed..88c1dfa 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -183,11 +183,10 @@ _spcd_frame_shut() { # ╰───────────┴────╯ _spcd_os_cat() { - spcd_cat__file="${1}" - if [ -n "${spcd_cat__file}" ]; then - _spcd_frame_open "${spcd_cat__file}" - cat "${spcd_cat__file}" - _spcd_frame_shut "${spcd_cat__file}" + if [ -n "${1}" ]; then + _spcd_frame_open "${1}" + cat "${1}" + _spcd_frame_shut "${1}" fi }