nsbin/ls-fun
Nico Schottelius d3c6e29902 Initial commit
2006-07-20 09:54:37 +02:00

8 lines
135 B
Bash
Executable file

#!/bin/sh
# ls with colors :)
ls "$@" | perl -pe '$i=$.;s//\e[3@{[$i++%7+1]}m/g'
# stop colors
echo -n "\033[m"
#echo -n -e "\033[m"