Configure syntax highlighting for zsh
This commit is contained in:
@@ -115,6 +115,14 @@ plugins=(
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# User configuration
|
||||
if type brew &>/dev/null; then
|
||||
FPATH=$(brew --prefix)/share/zsh-completions:$FPATH
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
fi
|
||||
|
||||
source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
|
||||
# export MANPATH="/usr/local/man:$MANPATH"
|
||||
|
||||
@@ -144,3 +152,4 @@ source $ZSH/oh-my-zsh.sh
|
||||
bindkey -e
|
||||
|
||||
autoload -U compinit && compinit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user