Files
dotfiles/zsh/functions.zsh
2012-06-10 10:33:30 -05:00

16 lines
307 B
Bash

####################
# functions
####################
# print available colors and their numbers
function colours() {
for i in {0..255}; do
printf "\x1b[38;5;${i}m colour${i}"
if (( $i % 5 == 0 )); then
printf "\n"
else
printf "\t"
fi
done
}