coloring update
This commit is contained in:
7
highbeam
7
highbeam
@@ -9,7 +9,7 @@ Example rules: ( ~/.highbeamrc )
|
||||
--------------------
|
||||
RULES=(
|
||||
"[0-9]" "$c" # Show numbers with Cyan color. NOTE: since the colors are represented with numbers, having this later in the rules will break coloring!
|
||||
"$USER[ ]\+$USER" "$BGC$BLACK" # Use quotes to have rules with spaces. This colors the "ls -la" usernames. background cyan, black text
|
||||
"$USER[ ]\+$USER" "$BC$K" # Use quotes to have rules with spaces. This colors the "ls -la" usernames. background cyan, black text
|
||||
status "$g" # simple word matching, coloring green
|
||||
"^d[^ ]*" "$G" # color words at the beginning of line, starting with d. color bright green
|
||||
"q.\{0,3\}r" "$Y" # q*r with maximum 3 characters in between. color bright yellow
|
||||
@@ -23,6 +23,7 @@ Bright colors: $R $G $B $Y $M $C $W $K
|
||||
Dark colors: $r $g $b $y $m $c $w $k
|
||||
Modify to bright version by prefixing with $H (e.g. $H$g)
|
||||
Background colors: $BR $BG $BB $BY $BC $BM $BW
|
||||
Underline: $U
|
||||
|
||||
Usage: highbeam [-c] [-h] [-f config]
|
||||
-c Be case sensitive
|
||||
@@ -56,7 +57,6 @@ m="${E}35m"
|
||||
c="${E}36m"
|
||||
w="${E}37m"
|
||||
|
||||
|
||||
# list of BG colors:
|
||||
BR="${E}41m"
|
||||
BG="${E}42m"
|
||||
@@ -66,6 +66,9 @@ BM="${E}45m"
|
||||
BC="${E}46m"
|
||||
BW="${E}47m"
|
||||
|
||||
# lines
|
||||
U="${E}4m"
|
||||
|
||||
|
||||
CONF_FILE=~/.highbeamrc
|
||||
CONF_LINE=""
|
||||
|
||||
Reference in New Issue
Block a user