mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
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:
committed by
Koichi Murase
parent
ec42a3c09c
commit
6c0dcf3ce7
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user