From e25fe5a67c8bbf066ea52c98683754e60b56ab6d Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sun, 21 May 2017 12:32:32 -0400 Subject: [PATCH] Update git checker for newer versions that complain when not in a git dir --- base.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base.sh b/base.sh index af9f783..c7ef66e 100644 --- a/base.sh +++ b/base.sh @@ -12,7 +12,7 @@ function enrich { } function build_prompt { - enabled=`git config --local --get oh-my-git.enabled` + enabled=`git config --local --get oh-my-git.enabled 2> /dev/null` if [[ ${enabled} == false ]]; then echo "${PSORG}" exit;