mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-16 17:50:09 +00:00
pull upstream changes from gitstatus
This commit is contained in:
parent
c9622cb5ec
commit
247d7590e3
1 changed files with 3 additions and 1 deletions
|
@ -327,7 +327,9 @@ function gitstatus_start() {
|
||||||
# We use `zsh -c` instead of plain {} or () to work around bugs in zplug. It hangs on startup.
|
# We use `zsh -c` instead of plain {} or () to work around bugs in zplug. It hangs on startup.
|
||||||
zsh -dfxc "
|
zsh -dfxc "
|
||||||
${(q)daemon} $daemon_args
|
${(q)daemon} $daemon_args
|
||||||
if [[ \$? == 127 && -z ${(q)GITSTATUS_DAEMON:-} && -f ${(q)daemon}-static ]]; then
|
if [[ \$? != (0|10) && \$? -le 128 &&
|
||||||
|
-z ${(q)GITSTATUS_DAEMON:-} &&
|
||||||
|
-f ${(q)daemon}-static ]]; then
|
||||||
${(q)daemon}-static $daemon_args
|
${(q)daemon}-static $daemon_args
|
||||||
fi
|
fi
|
||||||
echo -nE $'bye\x1f0\x1e'
|
echo -nE $'bye\x1f0\x1e'
|
||||||
|
|
Loading…
Reference in a new issue