cat/1
This commit is contained in:
parent
a3b2abb004
commit
008312a322
1 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue