aboutsummaryrefslogtreecommitdiff
path: root/dot_zshrc.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'dot_zshrc.tmpl')
-rw-r--r--dot_zshrc.tmpl13
1 files changed, 10 insertions, 3 deletions
diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
index 2395fa2..302201d 100644
--- a/dot_zshrc.tmpl
+++ b/dot_zshrc.tmpl
@@ -46,6 +46,9 @@ alias cd='z'
alias ls='eza --icons=always'
{{ if eq .chezmoi.hostname "gentoo" }}
+
+eval "$(mise activate zsh)"
+
path+=("/home/pablu/.cargo/bin")
export PATH
{{ else if eq .chezmoi.os "darwin" }}
@@ -63,12 +66,18 @@ source <(chezmoi completion zsh)
eval "$(starship init zsh)"
eval "$(zoxide init zsh)"
+{{ if ne .chezmoi.hostname "ubuntu" }}
+source <(herdr completion zsh)
+source <(COMPLETE=zsh jj)
+{{ end }}
+
{{ if eq .chezmoi.hostname "gentoo" }}
eval "$(direnv hook zsh)"
source /usr/share/zsh/site-functions/zsh-autosuggestions.zsh
source /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh
-source <(COMPLETE=zsh jj)
+source <(diple completion zsh)
+source <(zw completion zsh)
{{ else if eq .chezmoi.os "darwin" }}
@@ -77,8 +86,6 @@ source <(kubectl completion zsh)
source <(kubebuilder completion zsh)
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
-source <(COMPLETE=zsh jj)
-
{{ else if eq .chezmoi.hostname "ubuntu" }}
eval "$(direnv hook zsh)"