diff --git a/spcd/main.sh b/spcd/main.sh index 933c0d7..7d5536a 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -257,6 +257,15 @@ spcd_os_grep() { sed "s|^\"\(.*\)\"$|\1|" } +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}" + fi +} + spcd_os_mkdir() { spcd_os_mkdir__path="${1}" if [ -n "${spcd_os_mkdir__path}" ]; then @@ -1174,15 +1183,6 @@ spcd_ln_python() { fi } -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}" - fi -} - spcd_openssl() { spcd_openssl__file="${1}" if [ -f "${spcd_openssl__file}" ]; then