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

pull upstream changes from gitstatus

This commit is contained in:
romkatv 2019-03-11 00:30:14 +01:00
parent 0aa667dbf8
commit 0061264f57
2 changed files with 3 additions and 1 deletions

View file

@ -213,7 +213,9 @@ function gitstatus_start() {
}
zle -F $resp_fd _gitstatus_process_response_${name}
log=$(mktemp "${TMPDIR:-/tmp}"/gitstatus.$$.log.XXXXXXXXXX)
[[ ${GITSTATUS_ENABLE_LOGGING:-0} == 1 ]] &&
log=$(mktemp "${TMPDIR:-/tmp}"/gitstatus.$$.log.XXXXXXXXXX) ||
log=/dev/null
# We use `zsh -c` instead of plain {} or () to work around bugs in zplug. It hangs on startup.
zsh -c "