zsh: Add automatic inclusion of zsh-syntax-hightlighting
This commit is contained in:
parent
91b93d5b48
commit
93b945d0cd
1 changed files with 4 additions and 0 deletions
|
@ -2,3 +2,7 @@ autoload -U colors && colors
|
|||
|
||||
PROMPT="%{$fg[red]%}%n%{$fg[yellow]%}@%{$fg[green]%}%M%{$fg[yellow]%} > %{$reset_color%}"
|
||||
RPROMPT="%{$fg[yellow]%}%~%{$reset_color%}"
|
||||
|
||||
# Enable syntax hightlighting if available
|
||||
[ -f "/usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ] && \
|
||||
source "/usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||
|
|
Loading…
Reference in a new issue