Browse Source

Added zsh syntax highlighting.

master
Daniel Sissom 5 years ago
parent
commit
0ba29ab5ed
Signed by untrusted user who does not match committer: djsissom GPG Key ID: 2C30FFB796852389
1 changed files with 3 additions and 0 deletions
  1. + 3
    - 0
      zsh/zshrc

+ 3
- 0
zsh/zshrc

@ -342,6 +342,9 @@ growl() { echo -e $'\e]9;'${1}'\007' ; return ; }
# End # End
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
ZSH_HIGHLIGHT_HIGHLIGHTERS=(brackets root) # options: main brackets pattern cursor root line
#ZSH_HIGHLIGHT_STYLES[unknown-token]='none' # example to customize main class tokens
autoload -U colors && colors autoload -U colors && colors
#source ~/.zsh/git-prompt/zshrc.sh #source ~/.zsh/git-prompt/zshrc.sh

Loading…
Cancel
Save