Z Shell colors!
Behold the full of color and sparkle 256 colors cheat code!
# colors, a lot of colors!
function clicolors() {
i=1
for color in {000..255}; do;
c=$c"$FG[$color]$color✔$reset_color ";
if [ `expr $i % 8` -eq 0 ]; then
c=$c"\n"
fi
i=`expr $i + 1`
done;
echo $c | sed 's/%//g' | sed 's/{//g' | sed 's/}//g' | sed '$s/..$//';
c=''
}
Call clicolors and use it within the $FG[] var!
Now, bear my color blast!
[]
Written by Bruno "Clef"
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Zsh
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#