93bbc35634
we want to be a universal Zsh framework, and send the message that "less is less"! ;- ) Don't indent done and failed messages with an indicator, at the end of actions, to differentiate them from intermediate okay and error messages.
9 lines
238 B
Plaintext
9 lines
238 B
Plaintext
_zimfw_source_zimrc() {
|
|
local -ri _zprepare_xargs=${1}
|
|
local -i _zfailed=0
|
|
if ! source <%= home %>/.zimrc || (( _zfailed )); then
|
|
print -u2 -PR "%F{red}<%= failed %>Failed to source %B<%= home %>/.zimrc%b%f"
|
|
return 1
|
|
fi
|
|
}
|