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

Squashed 'gitstatus/' changes from 45489634e..ab1aea155

ab1aea155 remove "this command failed" message; it makes users to post truncated messages that are useless for debugging

git-subtree-dir: gitstatus
git-subtree-split: ab1aea155f051ecab8b70154f136eef81976dd25
This commit is contained in:
Roman Perepelitsa 2020-05-30 12:58:18 +02:00
parent 86d980cdb5
commit 094d1b3a47

View file

@ -735,7 +735,7 @@ function gitstatus_start"${1:-}"() {
print -Pru2 -- " Zsh log (%U${xtrace//\%/%%}%u):" print -Pru2 -- " Zsh log (%U${xtrace//\%/%%}%u):"
print -Pru2 -- '%F{yellow}' print -Pru2 -- '%F{yellow}'
print -lru2 -- "${(@)${(@f)$(<$xtrace)}/#/ }" print -lru2 -- "${(@)${(@f)$(<$xtrace)}/#/ }"
print -Pru2 -- " %F{red}^ this command failed ($err)%f" print -Pnru2 -- '%f'
fi fi
if [[ -s $daemon_log ]]; then if [[ -s $daemon_log ]]; then
print -ru2 -- '' print -ru2 -- ''