delete only comments with leading blank so colors can be configured also as hex value

This commit is contained in:
Alcali 2020-08-19 22:01:19 +00:00
parent d616c4d16e
commit 18c8529e01

4
ssh.sh
View File

@ -99,8 +99,8 @@ _readstyle() {
while read _pattern _style; do
_pattern=${_pattern%%#*} # delete comments
_style=${_style%%#*} # delete comments
_pattern=${_pattern%% #*} # delete comments
_style=${_style%% #*} # delete comments
[[ -z ${_pattern} || -z ${_style} ]] && continue