1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-06-15 15:51:42 +00:00

Standardized error messages.

This commit is contained in:
Sorin Ionescu
2012-01-19 02:28:01 -05:00
parent 28da8f916b
commit 95c29bada8
10 changed files with 33 additions and 29 deletions

View File

@ -149,7 +149,7 @@ if [[ $+functions[_zsh_highlight] -eq 0 ]]; then
{
# Load Zsh module zsh/zleparameter, needed to override user defined widgets.
zmodload zsh/zleparameter 2>/dev/null || {
print 'zsh-syntax-highlighting: failed loading zsh/zleparameter.' >&2
print 'history-substring-search: failed loading: zsh/zleparameter' >&2
return 1
}
@ -176,7 +176,7 @@ if [[ $+functions[_zsh_highlight] -eq 0 ]]; then
zle -N $cur_widget _zsh_highlight_widget_$cur_widget";;
# Default: unhandled case.
*) print "zsh-syntax-highlighting: unhandled ZLE widget '$cur_widget'" >&2 ;;
*) print "history-substring-search: unhandled ZLE widget: $cur_widget" >&2 ;;
esac
done
}