From d7dc4b64ba620934e80daccca994d4615e2c37a3 Mon Sep 17 00:00:00 2001 From: pablu Date: Fri, 24 Jul 2026 09:16:44 +0200 Subject: [PATCH] add .cargo/bin to zshrc --- dot_zshrc.tmpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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" }}