This commit is contained in:
Marc Beninca 2024-08-26 18:12:55 +02:00
parent 843378cdac
commit 4ed549e0b9
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -276,11 +276,10 @@ spcd_os_grep() {
}
spcd_os_ls() {
spcd_os_ls__path="${1}"
if [ -n "${spcd_os_ls__path}" ]; then
_spcd_frame_open "${spcd_os_ls__path}"
ls -a -l "${spcd_os_ls__path}"
_spcd_frame_shut "${spcd_os_ls__path}"
if [ -n "${1}" ]; then
_spcd_frame_open "${1}"
ls -a -l "${1}"
_spcd_frame_shut "${1}"
fi
}