1
0
Fork 0

zsh-syntax-highlighting from teh arch repos

This commit is contained in:
Von Random 2014-09-29 23:48:28 +04:00
parent aa6e69838e
commit 83aae19dff

3
zshrc
View file

@ -178,7 +178,8 @@ function zshrc {
autoload screenoffdisable screenoffenable autoload screenoffdisable screenoffenable
# command line syntax highlight from https://github.com/zsh-users/zsh-syntax-highlighting # command line syntax highlight from https://github.com/zsh-users/zsh-syntax-highlighting
hl_script="$HOME/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" #hl_script="$HOME/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
hl_script="/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
if [[ -r $hl_script ]]; then if [[ -r $hl_script ]]; then
source $hl_script source $hl_script
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern) ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern)