Skip to content

Commit

Permalink
Merge pull request sorin-ionescu#66 from simonair/master
Browse files Browse the repository at this point in the history
Add ` || true ' to last line of init script to guarantee zero exit code when sourcing multiple times
  • Loading branch information
nicoulaj committed Aug 3, 2011
2 parents 186d800 + 8540380 commit 3c82e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zsh-syntax-highlighting.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3c82e87

Please sign in to comment.