nested array 1
This commit is contained in:
+2
-2
@@ -57,8 +57,8 @@ function _style_fg {
|
||||
function _style_bg {
|
||||
if [[ -n "$1" ]]; then
|
||||
[[ -v BG_COLORS[$1] ]] && echo "${BG_COLORS[$1]}" && return
|
||||
>&2 echo "unknown BG value: $1"
|
||||
false
|
||||
>&2 echo "unknown BG value: $1" && return 1
|
||||
# false
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user