|
|
@ -398,10 +398,10 @@ function _gitstatus_daemon"${1:-}"() {
|
|
|
|
|
|
|
|
|
|
|
|
local gitstatus_plugin_dir_var=_gitstatus_plugin_dir$fsuf
|
|
|
|
local gitstatus_plugin_dir_var=_gitstatus_plugin_dir$fsuf
|
|
|
|
local gitstatus_plugin_dir=${(P)gitstatus_plugin_dir_var}
|
|
|
|
local gitstatus_plugin_dir=${(P)gitstatus_plugin_dir_var}
|
|
|
|
set -- -d $gitstatus_plugin_dir -s $uname_s -m $uname_m -p "printf . >&$pipe_fd" -- \
|
|
|
|
builtin set -- -d $gitstatus_plugin_dir -s $uname_s -m $uname_m -p "printf . >&$pipe_fd" -- \
|
|
|
|
_gitstatus_set_daemon$fsuf
|
|
|
|
_gitstatus_set_daemon$fsuf
|
|
|
|
[[ ${GITSTATUS_AUTO_INSTALL:-1} == (|-|+)<1-> ]] || set -- -n "$@"
|
|
|
|
[[ ${GITSTATUS_AUTO_INSTALL:-1} == (|-|+)<1-> ]] || builtin set -- -n "$@"
|
|
|
|
source $gitstatus_plugin_dir/install || return
|
|
|
|
builtin source $gitstatus_plugin_dir/install || return
|
|
|
|
[[ -n $_gitstatus_zsh_daemon ]] || return
|
|
|
|
[[ -n $_gitstatus_zsh_daemon ]] || return
|
|
|
|
[[ -n $_gitstatus_zsh_version ]] || return
|
|
|
|
[[ -n $_gitstatus_zsh_version ]] || return
|
|
|
|
[[ $_gitstatus_zsh_downloaded == [01] ]] || return
|
|
|
|
[[ $_gitstatus_zsh_downloaded == [01] ]] || return
|
|
|
@ -426,11 +426,11 @@ function _gitstatus_daemon"${1:-}"() {
|
|
|
|
[[ $_gitstatus_zsh_daemon == \
|
|
|
|
[[ $_gitstatus_zsh_daemon == \
|
|
|
|
${GITSTATUS_CACHE_DIR:-${XDG_CACHE_HOME:-$HOME/.cache}/gitstatus}/* ]] || return
|
|
|
|
${GITSTATUS_CACHE_DIR:-${XDG_CACHE_HOME:-$HOME/.cache}/gitstatus}/* ]] || return
|
|
|
|
|
|
|
|
|
|
|
|
set -- -f "$@"
|
|
|
|
builtin set -- -f "$@"
|
|
|
|
_gitstatus_zsh_daemon=
|
|
|
|
_gitstatus_zsh_daemon=
|
|
|
|
_gitstatus_zsh_version=
|
|
|
|
_gitstatus_zsh_version=
|
|
|
|
_gitstatus_zsh_downloaded=
|
|
|
|
_gitstatus_zsh_downloaded=
|
|
|
|
source $gitstatus_plugin_dir/install || return
|
|
|
|
builtin source $gitstatus_plugin_dir/install || return
|
|
|
|
[[ -n $_gitstatus_zsh_daemon ]] || return
|
|
|
|
[[ -n $_gitstatus_zsh_daemon ]] || return
|
|
|
|
[[ -n $_gitstatus_zsh_version ]] || return
|
|
|
|
[[ -n $_gitstatus_zsh_version ]] || return
|
|
|
|
[[ $_gitstatus_zsh_downloaded == 1 ]] || return
|
|
|
|
[[ $_gitstatus_zsh_downloaded == 1 ]] || return
|
|
|
|