bashcols: formatting

This commit is contained in:
fabs
2020-12-09 20:14:29 +01:00
committed by fabs
parent c042ce279f
commit de9454b324

View File

@@ -31,7 +31,6 @@ function defcol() {
eval "${name}_esc=\"\\e[38;5;${color}m\""
eval "${name}_escbg=\"\\e[48;5;${color}m\""
eval "function $name { colout $color \"\$@\"; }"
}
# displays all 256 colors
@@ -54,20 +53,20 @@ function colthis {
}
# default colors
defcol red 1
defcol green 2
defcol brown 3
defcol blue 4
defcol magenta 5
defcol cyan 6
defcol white 7
defcol grey 8
defcol redl 9
defcol greenl 10
defcol yellow 11
defcol bluel 12
defcol magenta 13
defcol cyanl 14
defcol whitel 15
defcol black 16
defcol red 1
defcol green 2
defcol brown 3
defcol blue 4
defcol magenta 5
defcol cyan 6
defcol white 7
defcol grey 8
defcol redl 9
defcol greenl 10
defcol yellow 11
defcol bluel 12
defcol magenta 13
defcol cyanl 14
defcol whitel 15
defcol black 16