aboutsummaryrefslogtreecommitdiff
path: root/dot_zshrc.tmpl
diff options
context:
space:
mode:
authorpablu <me@pablu.de>2026-07-24 09:16:44 +0200
committerpablu <me@pablu.de>2026-07-24 09:16:44 +0200
commitd7dc4b64ba620934e80daccca994d4615e2c37a3 (patch)
tree81978637572402c955e2cd7677e30ea307cdf43c /dot_zshrc.tmpl
parent8c8f1ea22812796e23932a25a786d5491329606a (diff)
add .cargo/bin to zshrc
Diffstat (limited to 'dot_zshrc.tmpl')
-rw-r--r--dot_zshrc.tmpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
index c5dd477..7ea377a 100644
--- a/dot_zshrc.tmpl
+++ b/dot_zshrc.tmpl
@@ -35,7 +35,10 @@ alias vim='nvim'
alias cd='z'
alias ls='eza --icons=always'
-{{ if eq .chezmoi.os "darwin" }}
+{{ if eq .chezmoi.hostname "gentoo" }}
+path+=("/home/pablu/.cargo/bin")
+export PATH
+{{ else if eq .chezmoi.os "darwin" }}
PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"
export PATH
{{ else if eq .chezmoi.hostname "ubuntu" }}
@@ -52,6 +55,7 @@ eval "$(zoxide init zsh)"
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)
{{ else if eq .chezmoi.os "darwin" }}