improve(ls): add ls colors

This commit is contained in:
zawz 2022-02-25 18:23:48 +01:00
parent a3158b5c51
commit bbe4d59be7

View file

@ -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 "$@" ;;