]> arthur.barton.de Git - ax-zsh.git/blobdiff - plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zshrc
virtualenvwrapper: Try to set PROJECT_HOME harder
[ax-zsh.git] / plugins / zsh-syntax-highlighting / zsh-syntax-highlighting.zshrc
index 6913cb62c3f228809ae04aec3e35a63e0850f7c0..c663b9e36febd55dc6d306868fcd98df83a0391f 100644 (file)
@@ -2,12 +2,15 @@
 # zsh-syntax-highlighting.zshrc: Initialize "ZSH Syntax Highlighting"
 
 for script (
+       "/usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
        "/usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
 ); do
        if [[ -r "$script" ]]; then
                [[ -n "$ZSH_HIGHLIGHT_HIGHLIGHTERS" ]] \
                        && ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
                source "$script"
+               unset script
                return
        fi
 done
+unset script