From e5eb6ae909c45d3417705e38da98171781eff7bb Mon Sep 17 00:00:00 2001 From: Nikolas Weger Date: Wed, 2 Oct 2024 10:25:09 +0200 Subject: [PATCH] fixed zshrc on other systems, mise not installed --- dot_config/zsh/dot_zshrc.tmpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dot_config/zsh/dot_zshrc.tmpl b/dot_config/zsh/dot_zshrc.tmpl index 9c129b9..2324a24 100644 --- a/dot_config/zsh/dot_zshrc.tmpl +++ b/dot_config/zsh/dot_zshrc.tmpl @@ -11,6 +11,7 @@ unsetopt FLOW_CONTROL typeset -U path PATH {{- if eq .chezmoi.osRelease.id "endeavouros" }} path+=("$XDG_DATA_HOME"/JetBrains/Toolbox/scripts) # jetbrains toolbox +path+=("$XDG_DATA_HOME/mise/shims") # mise {{- end }} path+=("$HOME"/.local/bin) # local bin @@ -32,7 +33,9 @@ antidote load smartcache eval zoxide init --cmd cd zsh smartcache eval atuin init zsh smartcache eval direnv hook zsh +{{- if eq .chezmoi.osRelease.id "endeavouros" }} smartcache eval mise activate zsh +{{- end }} # source files source "$ZDOTDIR"/files/aliases.zsh