revert fixed chezmoi on phone
This commit is contained in:
eeleater 2024-11-25 01:49:26 +01:00
parent 36bb6c8e29
commit 16dde8776a
4 changed files with 6 additions and 6 deletions

View file

@ -9,7 +9,7 @@ unsetopt FLOW_CONTROL
# deduplicate path
typeset -U path PATH
{{- if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.id "endeavouros")) }}
{{- if eq .chezmoi.osRelease.id "endeavouros" }}
path+=("$XDG_DATA_HOME"/JetBrains/Toolbox/scripts) # jetbrains toolbox
path+=("$XDG_DATA_HOME/mise/shims") # mise
{{- end }}
@ -20,7 +20,7 @@ potentialBanner=('joke bofh' 'joke dad' 'fastfetch')
eval "$potentialBanner[$RANDOM%$#potentialBanner+1]"
# antidote
{{- if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.id "endeavouros")) }}
{{- if eq .chezmoi.osRelease.id "endeavouros" }}
source '/usr/share/zsh-antidote/antidote.zsh'
{{- else }}
test -r "$XDG_DATA_HOME"/antidote/antidote.zsh || git clone https://github.com/mattmc3/antidote.git "$XDG_DATA_HOME"/antidote
@ -33,7 +33,7 @@ antidote load
smartcache eval zoxide init --cmd cd zsh
smartcache eval atuin init zsh
smartcache eval direnv hook zsh
{{- if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.id "endeavouros")) }}
{{- if eq .chezmoi.osRelease.id "endeavouros" }}
smartcache eval mise activate zsh
{{- end }}