commit ca8c5ed03d39b5beaa532b12b41b37248918956d
parent 276598f572d2a89d31d6fee31f5c5419794ec961
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 5 Mar 2019 07:00:27 +0100
Allow more flexible input formats
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/links/bin/colortheme b/links/bin/colortheme
@@ -33,7 +33,7 @@ function show_themes {
function get_theme_color {
! [ -f $path ] && die "Error: Could not find $path"
- grep --ignore-case "^\*$1:" $path | awk '{ print $2 }'
+ grep --ignore-case "^\*\.*$1:" $path | awk '{ print $2 }'
}
function report_colors {