summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIbrahim Muftee <ibrahim@muftee.net>2024-07-04 17:45:24 -0400
committerIbrahim Muftee <ibrahim@muftee.net>2026-07-01 00:23:31 -0400
commite8a1071c3bbefe7a560740fba78390167345d7a4 (patch)
tree3466fac4693ad4f3815b96e91130eb8a15a3d6ba
parent89350e7c4f16a38eb63d6572cf363e2d923960f2 (diff)
feat(zsh): add syntax highlighting for mac
-rw-r--r--dot_zshrc.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
index d109516..bc885e7 100644
--- a/dot_zshrc.tmpl
+++ b/dot_zshrc.tmpl
@@ -139,3 +139,8 @@ source $HOME/.zshenv
# Load Starship
eval "$(starship init zsh)"
+
+# Load zsh syntax highlighting
+{{- if eq .chezmoi.os "darwin" }}
+source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
+{{ end -}}