Skip to content

Commit

Permalink
Theme always fell back to default theme in bash 3.2.53
Browse files Browse the repository at this point in the history
Fixes #84
  • Loading branch information
magicmonty committed Oct 7, 2014
1 parent 084368f commit 62efaa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitprompt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function get_theme()
GIT_PROMPT_THEME="Custom"
__GIT_PROMPT_THEME_FILE=$CUSTOM_THEME_FILE

if [[ !(-r $__GIT_PROMPT_THEME_FILE) ]]; then
if [[ ! (-r $__GIT_PROMPT_THEME_FILE) ]]; then
GIT_PROMPT_THEME="Default"
__GIT_PROMPT_THEME_FILE=$DEFAULT_THEME_FILE
fi
Expand Down

0 comments on commit 62efaa9

Please sign in to comment.