[misc] move print_colors to bin folder
This commit is contained in:
parent
0ce11f5bd4
commit
ac47877ada
7
bin/print_colors
Executable file
7
bin/print_colors
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/fish
|
||||||
|
|
||||||
|
set x (tput op)
|
||||||
|
set y (printf '%76s')
|
||||||
|
for i in (seq 256)
|
||||||
|
printf "%3s %s%s%s%s\n" $i (tput setaf $i) (tput setab $i) $y $x
|
||||||
|
end
|
|
@ -1,8 +0,0 @@
|
||||||
|
|
||||||
function print_colors -d 'print out all terminal colors'
|
|
||||||
set x (tput op)
|
|
||||||
set y (printf '%76s')
|
|
||||||
for i in (seq 256)
|
|
||||||
printf "%3s %s%s%s%s\n" $i (tput setaf $i) (tput setab $i) $y $x
|
|
||||||
end
|
|
||||||
end
|
|
Loading…
Reference in New Issue
Block a user