Update git checker for newer versions that complain when not in a git dir

This commit is contained in:
Austen Adler 2017-05-21 12:32:32 -04:00
parent f3c6eb0c7f
commit e25fe5a67c

View File

@ -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;