summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
m---------zsh/.zsh/syntax-highlighting0
-rw-r--r--zsh/.zshrc12
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
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 6e31142..ffc9641 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -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