themes/rjorgenson: Use globs when checking OS

On MacOS the OSTYPE can be `darwin9.0` so we need to check for that
This commit is contained in:
James Conroy
2022-01-31 09:27:08 -06:00
committed by Koichi Murase
parent ec42a3c09c
commit 6c0dcf3ce7

View File

@@ -16,7 +16,7 @@ SCM_SVN_CHAR="${bold_cyan}⑆${normal}"
SCM_HG_CHAR="${bold_red}${normal}"
PROMPT_CHAR="${OMB_THEME_BRACKET_COLOR}${normal}"
if [[ $OSTYPE =~ "darwin" ]]; then
if [[ $OSTYPE == *darwin* ]]; then
PROMPT_CHAR="${OMB_THEME_BRACKET_COLOR}${normal}"
fi