1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-25 13:30:07 +00:00

Squashed 'gitstatus/' changes from 3050dfca8..38d62a475

38d62a475 fix gitstatus on older zsh versions

git-subtree-dir: gitstatus
git-subtree-split: 38d62a475fadf5f8d418fc772d680ba234ba8609
This commit is contained in:
Roman Perepelitsa 2020-06-10 07:57:51 +02:00
parent a3c1b7164b
commit fa2e337cbd

View file

@ -414,7 +414,7 @@ function _gitstatus_daemon"${1:-}"() {
(( ! _gitstatus_zsh_downloaded )) || return (( ! _gitstatus_zsh_downloaded )) || return
[[ ${GITSTATUS_AUTO_INSTALL:-1} == (|-|+)<1-> ]] || return [[ ${GITSTATUS_AUTO_INSTALL:-1} == (|-|+)<1-> ]] || return
[[ $_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 "$@" set -- -f "$@"