9 lines
135 B
Text
9 lines
135 B
Text
|
#!/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"
|