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 -- '%F{yellow}'
print -lru2 -- "${(@)${(@f)$(<$xtrace)}/#/ }"
print -Pru2 -- " %F{red}^ this command failed ($err)%f"
print -Pnru2 -- '%f'
fi
if [[ -s $daemon_log ]]; then
print -ru2 -- ''