From de9454b324c4c9fa42980c9e6b16b47519f22008 Mon Sep 17 00:00:00 2001 From: fabs Date: Wed, 9 Dec 2020 20:14:29 +0100 Subject: [PATCH] bashcols: formatting --- bashcols | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/bashcols b/bashcols index bb7fe8f..aebc7c3 100755 --- a/bashcols +++ b/bashcols @@ -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