summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dot_zshrc.tmpl14
1 files changed, 7 insertions, 7 deletions
diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
index 4531bac..47802db 100644
--- a/dot_zshrc.tmpl
+++ b/dot_zshrc.tmpl
@@ -8,6 +8,12 @@
#{{- /* This file supports Go's text/template language. */ -}}
+# Source the zprofile
+source $HOME/.zprofile
+
+# Source zshenv
+source $HOME/.zshenv
+
# Enable colors and change prompt:
autoload -U colors && colors # Load colors
# PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b "
@@ -134,16 +140,10 @@ alias cdc='$HOME/.local/share/chezmoi/'
# Shortcut for sourcing this file
alias zource='source $HOME/.zshrc'
-# Source the zprofile
-source $HOME/.zprofile
-
-# Source zshenv
-source $HOME/.zshenv
-
# Load Starship
eval "$(starship init zsh)"
-# Load zsh syntax highlighting
{{- if eq .chezmoi.os "darwin" }}
+# Load zsh syntax highlighting
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
{{ end -}}