Rename SCM_GIT_GITSTATUSD_LOC to SCM_GIT_GITSTATUSD_PLUGIN_SH_LOC

pull/1622/head
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 [[ $- == *i* ]] || return # non-interactive shell
SCM_GIT_GITSTATUSD_LOC=${SCM_GIT_GITSTATUSD_LOC:="$HOME/gitstatus/gitstatus.plugin.sh"} SCM_GIT_GITSTATUSD_PLUGIN_SH_LOC=${SCM_GIT_GITSTATUSD_PLUGIN_SH_LOC:="$HOME/gitstatus/gitstatus.plugin.sh"}
if [[ -f "${SCM_GIT_GITSTATUSD_LOC}" ]]; then if [[ -f "${SCM_GIT_GITSTATUSD_PLUGIN_SH_LOC}" ]]; then
source "${SCM_GIT_GITSTATUSD_LOC}" source "${SCM_GIT_GITSTATUSD_PLUGIN_SH_LOC}"
# Start the actual gitstatusd binary # Start the actual gitstatusd binary
gitstatus_stop && gitstatus_start -s -1 -u -1 -c -1 -d -1 gitstatus_stop && gitstatus_start -s -1 -u -1 -c -1 -d -1
export SCM_GIT_USE_GITSTATUSD=true export SCM_GIT_USE_GITSTATUSD=true

View File

@ -32,8 +32,8 @@ export TODO="t"
# Set this to false to turn off version control status checking within the prompt for all themes # Set this to false to turn off version control status checking within the prompt for all themes
export SCM_CHECK=true export SCM_CHECK=true
# Set to actual location of gitstatusd if installed # Set to actual location of gitstatusd.plugin.sh if installed
#export SCM_GIT_GITSTATUSD_LOC="$HOME/gitstatus/gitstatus.plugin.sh" #export SCM_GIT_GITSTATUSD_PLUGIN_SH_LOC="$HOME/gitstatus/gitstatus.plugin.sh"
# per default gitstatusd uses 2 times as many threads as CPU cores, you can change this here if you must # per default gitstatusd uses 2 times as many threads as CPU cores, you can change this here if you must
#export GITSTATUS_NUM_THREADS=8 #export GITSTATUS_NUM_THREADS=8