Skip to content

Commit

Permalink
gitstatus: Add informative warning in case dir is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahGorny committed Sep 5, 2020
1 parent c5994d2 commit 91b6561
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/available/gitstatus.plugin.bash
Expand Up @@ -21,4 +21,6 @@ if [[ -d ${SCM_GIT_GITSTATUS_DIR} ]]; then
# Start the actual gitstatus binary
gitstatus_stop && gitstatus_start -s -1 -u -1 -c -1 -d -1
export SCM_GIT_USE_GITSTATUS=true
else
_log_warning "Could not find gitstatus directory in ${SCM_GIT_GITSTATUS_DIR}. Please specify directory location using SCM_GIT_GITSTATUS_DIR."
fi

0 comments on commit 91b6561

Please sign in to comment.