Change gitprompt to return 1 when not in git repository

This commit is contained in:
Talia 2020-01-31 11:32:40 +01:00
parent 4c582b3662
commit 7db2381674
1 changed files with 2 additions and 0 deletions

View File

@ -108,6 +108,8 @@ git__prompt () {
then
/bin/echo -ne " ${purple}+$untracked"
fi
else
exit 1
fi
}