alias: showcolors

This commit is contained in:
Théophile Bastian 2017-06-05 12:54:27 +02:00
parent 84da8896c2
commit a259022fac

View file

@ -34,3 +34,10 @@ alias xclipboard='xclip -selection clipboard'
alias wine_pulse='PULSE_LATENCY_MSEC=60 wine'
alias ssh-forgetful='ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
alias showcolors='for i in {0..255} ; do \
printf "\x1b[48;5;%sm%3d\e[0m " "$i" "$i"; \
if (( i == 15 )) || (( i > 15 )) && (( (i-15) % 6 == 0 )); then \
printf "\n"; \
fi; done'