alias: showcolors
This commit is contained in:
parent
84da8896c2
commit
a259022fac
1 changed files with 7 additions and 0 deletions
|
@ -34,3 +34,10 @@ alias xclipboard='xclip -selection clipboard'
|
||||||
alias wine_pulse='PULSE_LATENCY_MSEC=60 wine'
|
alias wine_pulse='PULSE_LATENCY_MSEC=60 wine'
|
||||||
|
|
||||||
alias ssh-forgetful='ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
|
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'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue