diff options
-rw-r--r-- | .gitmodules | 3 | ||||
m--------- | zsh/.zsh/syntax-highlighting | 0 | ||||
-rw-r--r-- | zsh/.zshrc | 12 |
3 files changed, 10 insertions, 5 deletions
diff --git a/.gitmodules b/.gitmodules index 89907ae..58f5385 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,6 @@ [submodule "zsh/.zsh/powerlevel10k"] path = zsh/.zsh/powerlevel10k url = https://github.com/romkatv/powerlevel10k.git +[submodule "zsh/syntax-highlighting"] + path = zsh/.zsh/syntax-highlighting + url = https://github.com/zsh-users/zsh-syntax-highlighting.git diff --git a/zsh/.zsh/syntax-highlighting b/zsh/.zsh/syntax-highlighting new file mode 160000 +Subproject 2ebfa6a59879b66b02712693731c84831255601 @@ -59,11 +59,13 @@ if (( $+commands[zoxide] )); then eval "$(zoxide init zsh)" fi -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 +# Issues when typing 'ssh root@' with fast syntax hilighting. +source ~/.zsh/syntax-highlighting/zsh-syntax-highlighting.zsh +# 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 # allow editing of command line autoload -U edit-command-line |