Add syntax highlighting addon
This commit is contained in:
parent
eb68312104
commit
d70a3b7287
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "zsh-syntax-highlighting"]
|
||||
path = zsh-syntax-highlighting
|
||||
url = https://github.com/zsh-users/zsh-syntax-highlighting
|
||||
1
zsh-syntax-highlighting
Submodule
1
zsh-syntax-highlighting
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit a33c72e8389b3d984d25fd556d86878777c76571
|
||||
6
zshrc
6
zshrc
@ -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…
Reference in New Issue
Block a user