Skip to content

Commit

Permalink
Fix unhandled ZLE widget by loading plugins before configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
rpereira committed Nov 5, 2016
1 parent 624096c commit 686e6fa
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions zsh/zshrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Load plugins
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /usr/local/opt/zsh-history-substring-search/zsh-history-substring-search.zsh

# Load configuration files
for file ($DOTFILES/zsh/config/*.zsh(N)); do
source $file
Expand All @@ -13,6 +17,3 @@ unset file
[[ -f ~/.zshrc.local ]] && source ~/.zshrc.local
[[ -f ~/.fzf.zsh ]] && source ~/.fzf.zsh
[[ -f ~/.travis/travis.sh ]] && source ~/.travis/travis.sh

source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /usr/local/opt/zsh-history-substring-search/zsh-history-substring-search.zsh

0 comments on commit 686e6fa

Please sign in to comment.