Rename SCM_GIT_GITSTATUSD_LOC to SCM_GIT_GITSTATUSD_PLUGIN_SH_LOC
parent
1143bb8ddf
commit
6294797986
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -32,8 +32,8 @@ export TODO="t"
|
|||
|
||||
# Set this to false to turn off version control status checking within the prompt for all themes
|
||||
export SCM_CHECK=true
|
||||
# Set to actual location of gitstatusd if installed
|
||||
#export SCM_GIT_GITSTATUSD_LOC="$HOME/gitstatus/gitstatus.plugin.sh"
|
||||
# Set to actual location of gitstatusd.plugin.sh if installed
|
||||
#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
|
||||
#export GITSTATUS_NUM_THREADS=8
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue