diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 8357d78..0fc5d24 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -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 }