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

View file

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