From 158fbccc82047a92d63426d3f049b6f4d2801f96 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 28 Dec 2009 20:15:35 +0100 Subject: [PATCH] comment for ls-fun Signed-off-by: Nico Schottelius --- ls-fun | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ls-fun b/ls-fun index f82f7d3..9cac470 100755 --- a/ls-fun +++ b/ls-fun @@ -1,8 +1,9 @@ #!/bin/sh +# Found somewhere on the net # ls with colors :) ls "$@" | perl -pe '$i=$.;s//\e[3@{[$i++%7+1]}m/g' -# stop colors -echo -n "\033[m" +# stop colors, if needed +#echo -n "\033[m" #echo -n -e "\033[m"