Rename SCM_GIT_GITSTATUSD_LOC to SCM_GIT_GITSTATUSD_PLUGIN_SH_LOC

This commit is contained in:
Noah Gorny
2020-06-20 15:15:55 +03:00
parent 1143bb8ddf
commit 6294797986
2 changed files with 5 additions and 5 deletions

View File

@@ -14,9 +14,9 @@ function gitstatusd_on_disable() {
[[ $- == *i* ]] || return # non-interactive shell
SCM_GIT_GITSTATUSD_LOC=${SCM_GIT_GITSTATUSD_LOC:="$HOME/gitstatus/gitstatus.plugin.sh"}
if [[ -f "${SCM_GIT_GITSTATUSD_LOC}" ]]; then
source "${SCM_GIT_GITSTATUSD_LOC}"
SCM_GIT_GITSTATUSD_PLUGIN_SH_LOC=${SCM_GIT_GITSTATUSD_PLUGIN_SH_LOC:="$HOME/gitstatus/gitstatus.plugin.sh"}
if [[ -f "${SCM_GIT_GITSTATUSD_PLUGIN_SH_LOC}" ]]; then
source "${SCM_GIT_GITSTATUSD_PLUGIN_SH_LOC}"
# Start the actual gitstatusd binary
gitstatus_stop && gitstatus_start -s -1 -u -1 -c -1 -d -1
export SCM_GIT_USE_GITSTATUSD=true