From bbe4d59be7167a08ab041e759350e729871bd08b Mon Sep 17 00:00:00 2001 From: zawz Date: Fri, 25 Feb 2022 18:23:48 +0100 Subject: [PATCH] improve(ls): add ls colors --- src/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.sh b/src/main.sh index 8845fb4..6928ad0 100755 --- a/src/main.sh +++ b/src/main.sh @@ -35,7 +35,7 @@ case $arg in n|new) sanitize_paths "$@" && new "$@" && shift $(($#-1)) && cond_copy "$1";; g|get) sanitize_paths "$@" && get "$@" ;; x|copy) sanitize_paths "$1" && copy "$1" ;; - l|ls|list) sanitize_paths "$@" && __NOPACK=y archive_exec ls -Ap1 -- "$@" ;; + l|ls|list) sanitize_paths "$@" && __NOPACK=y archive_exec ls --color=auto -Ap1 -- "$@" ;; r|rm) sanitize_paths "$@" && archive_exec rm -rf -- "$@" ;; m|mv) sanitize_paths "$@" && move "$@" ;; e|exec) archive_exec "$@" ;;