remove zprofile, enable syntax highlighting

This commit is contained in:
Martin Sekera 2020-04-03 14:02:37 +02:00
parent 922813b764
commit d108a398d4
2 changed files with 9 additions and 19 deletions

View file

@ -265,3 +265,12 @@ bindkey "\eOH" beginning-of-line
bindkey "\eOF" end-of-line
bindkey "\eOd" backward-word
bindkey "\eOc" forward-word
# load syntax highlighting if available; Gentoo and Arch paths are tried
for HPATH in "/usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh" "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
do
if [[ -e "${HPATH}" ]]; then
source "${HPATH}"
break
fi
done