Merge pull request #370 from hotpocket/master

return right away so a success looks like "1" instead of "1 0"
master
Martin Gondermann 8 years ago committed by GitHub
commit 7857a9b542
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      gitprompt.sh

@ -303,8 +303,9 @@ function setLastCommandState() {
function we_are_on_repo() {
if [[ -e "$(git rev-parse --git-dir 2> /dev/null)" ]]; then
echo 1
else
echo 0
fi
echo 0
}
function update_old_git_prompt() {

Loading…
Cancel
Save