From d42b59a795cb7cb590cb26d1768cdc3e5649f492 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 25 Aug 2024 22:48:21 +0200 Subject: [PATCH] mv --- spcd/main.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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