Move 'c256' alias to 'colors' script
This commit is contained in:
parent
a7bfedaca8
commit
3907db9f34
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