parent
36bb6c8e29
commit
16dde8776a
4 changed files with 6 additions and 6 deletions
|
@ -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 }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue