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