Browse Source

Add syntax highlighting addon

master
parent
commit
d70a3b7287
3 changed files with 10 additions and 0 deletions
  1. +3
    -0
      .gitmodules
  2. +1
    -0
      zsh-syntax-highlighting
  3. +6
    -0
      zshrc

+ 3
- 0
.gitmodules View File

@@ -0,0 +1,3 @@
[submodule "zsh-syntax-highlighting"]
path = zsh-syntax-highlighting
url = https://github.com/zsh-users/zsh-syntax-highlighting

+ 1
- 0
zsh-syntax-highlighting

@@ -0,0 +1 @@
Subproject commit a33c72e8389b3d984d25fd556d86878777c76571

+ 6
- 0
zshrc View File

@@ -612,6 +612,12 @@ for command in find wget git; \
# load zsh extended move
autoload -Uz zmv

#---------------------------------- Addons ------------------------------------

if [[ -d ${ZDOTDIR:-$HOME}/.zsh/zsh-syntax-highlighting ]]; then
source ${ZDOTDIR:-$HOME}/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
fi

#---------------------------------- Machine specific --------------------------

if [[ -r $HOME/.zlocal ]]; then


Loading…
Cancel
Save