delete only comments with leading blank so colors can be configured also as hex value
This commit is contained in:
parent
d616c4d16e
commit
18c8529e01
4
ssh.sh
4
ssh.sh
@ -99,8 +99,8 @@ _readstyle() {
|
|||||||
|
|
||||||
while read _pattern _style; do
|
while read _pattern _style; do
|
||||||
|
|
||||||
_pattern=${_pattern%%#*} # delete comments
|
_pattern=${_pattern%% #*} # delete comments
|
||||||
_style=${_style%%#*} # delete comments
|
_style=${_style%% #*} # delete comments
|
||||||
|
|
||||||
[[ -z ${_pattern} || -z ${_style} ]] && continue
|
[[ -z ${_pattern} || -z ${_style} ]] && continue
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user