Merge pull request #66 from simonair/master

Add ` || true ' to last line of init script to guarantee zero exit code when sourcing multiple times
This commit is contained in:
Julien Nicoulaud 2011-08-03 05:42:50 -07:00
commit 3c82e872ad

View file

@ -203,4 +203,4 @@ _zsh_highlight_load_highlighters "${ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR:-${0:h}/highl
}
# Initialize the array of active highlighters if needed.
[[ $#ZSH_HIGHLIGHT_HIGHLIGHTERS -eq 0 ]] && ZSH_HIGHLIGHT_HIGHLIGHTERS=(main)
[[ $#ZSH_HIGHLIGHT_HIGHLIGHTERS -eq 0 ]] && ZSH_HIGHLIGHT_HIGHLIGHTERS=(main) || true