diff options
-rw-r--r-- | .gitmodules | 3 | ||||
m--------- | zsh/.zsh/fast-syntax-highlighting | 0 | ||||
-rw-r--r-- | zsh/.zshrc | 6 |
3 files changed, 9 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules index dee7f1c..2f8023f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "zsh/zsh/pure"] path = zsh/.zsh/pure url = https://github.com/sindresorhus/pure.git +[submodule "zsh/.zsh/fast-syntax-highlighting"] + path = zsh/.zsh/fast-syntax-highlighting + url = https://github.com/zdharma/fast-syntax-highlighting diff --git a/zsh/.zsh/fast-syntax-highlighting b/zsh/.zsh/fast-syntax-highlighting new file mode 160000 +Subproject a47b5088636c3678c7baa22710d10b0c45bc926 @@ -30,4 +30,10 @@ prompt pure alias ls="ls --color" +source ~/.zsh/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh +if [[ ! -f ~/.zsh/fast-syntax-highlighting/current_theme.zsh ]]; then + fpath+=$HOME/.zsh/fast-syntax-highlighting + fast-theme clean +fi + [[ -f ~/.zshrc.local ]] && source ~/.zshrc.local |