158fbccc82
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
9 lines
176 B
Bash
Executable file
9 lines
176 B
Bash
Executable file
#!/bin/sh
|
|
# Found somewhere on the net
|
|
|
|
# ls with colors :)
|
|
ls "$@" | perl -pe '$i=$.;s//\e[3@{[$i++%7+1]}m/g'
|
|
|
|
# stop colors, if needed
|
|
#echo -n "\033[m"
|
|
#echo -n -e "\033[m"
|