Commit 158fbccc authored by Nico Schottelius's avatar Nico Schottelius

comment for ls-fun

Signed-off-by: default avatarNico Schottelius <>
parent f5a8cd12
# 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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment