aboutsummaryrefslogtreecommitdiff
path: root/gitstatus/gitstatus.plugin.zsh
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-06-08 10:41:59 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-06-08 10:41:59 +0300
commited9d5a7088b2427bb261d7771db9fa3025984367 (patch)
tree148ffe039d4f05b425d18d439d501f1f523d3ab9 /gitstatus/gitstatus.plugin.zsh
parent05dad31f3f2fa83fb9f60c08d045c85347fbf545 (diff)
parent54c98228342043612ea83eaaf13ac13659c26295 (diff)
Merge commit '54c98228342043612ea83eaaf13ac13659c26295'
Diffstat (limited to 'gitstatus/gitstatus.plugin.zsh')
-rw-r--r--gitstatus/gitstatus.plugin.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh
index b4690727..66d128c2 100644
--- a/gitstatus/gitstatus.plugin.zsh
+++ b/gitstatus/gitstatus.plugin.zsh
@@ -414,6 +414,9 @@ function _gitstatus_daemon"${1:-}"() {
(( ! _gitstatus_zsh_downloaded )) || return
[[ ${GITSTATUS_AUTO_INSTALL:-1} == (|-|+)<1-> ]] || return
+ [[ $_gitstatus_zsh_daemon ==
+ ${GITSTATUS_CACHE_DIR:-${XDG_CACHE_HOME:-$HOME/.cache}/gitstatus}/* ]] || return
+
set -- -f "$@"
_gitstatus_zsh_daemon=
_gitstatus_zsh_version=