From 6c0dcf3ce7603fb26e19aad538d10c2fcda2af22 Mon Sep 17 00:00:00 2001 From: James Conroy Date: Mon, 31 Jan 2022 09:27:08 -0600 Subject: [PATCH] themes/rjorgenson: Use globs when checking OS On MacOS the OSTYPE can be `darwin9.0` so we need to check for that --- themes/rjorgenson/rjorgenson.theme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/rjorgenson/rjorgenson.theme.sh b/themes/rjorgenson/rjorgenson.theme.sh index 8542989..279c554 100644 --- a/themes/rjorgenson/rjorgenson.theme.sh +++ b/themes/rjorgenson/rjorgenson.theme.sh @@ -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