Merge commit '54c98228342043612ea83eaaf13ac13659c26295'

This commit is contained in:
Roman Perepelitsa 2020-06-08 09:41:59 +02:00
commit ed9d5a7088
2 changed files with 6 additions and 0 deletions

View file

@ -164,6 +164,9 @@ function gitstatus_start() {
(( ! _gitstatus_bash_downloaded )) || return
[[ "${GITSTATUS_AUTO_INSTALL:-1}" -ne 0 ]] || return
[[ "$_gitstatus_bash_daemon" == \
"${GITSTATUS_CACHE_DIR:-${XDG_CACHE_HOME:-$HOME/.cache}/gitstatus}"/* ]] || return
set -- -f "$@"
_gitstatus_bash_daemon=
_gitstatus_bash_version=

View file

@ -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=