Move 'c256' alias to 'colors' script
This commit is contained in:
parent
199e28ff67
commit
183f5e8e23
11
.local/bin/scripts/colors
Executable file
11
.local/bin/scripts/colors
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# From Arch Wiki (formated)
|
||||||
|
|
||||||
|
x="$(tput op)"
|
||||||
|
y=$(printf %76s)
|
||||||
|
for i in {0..256}; do
|
||||||
|
o=00$i
|
||||||
|
echo -e ${o:${#o}-3:3} "$(tput setaf "$i";tput setab "$i")" "${y// /=}$x"
|
||||||
|
done
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user