add .cargo/bin to zshrc

This commit is contained in:
2026-07-24 09:16:44 +02:00
parent 8c8f1ea228
commit d7dc4b64ba

View File

@@ -35,7 +35,10 @@ alias vim='nvim'
alias cd='z' alias cd='z'
alias ls='eza --icons=always' 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" PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"
export PATH export PATH
{{ else if eq .chezmoi.hostname "ubuntu" }} {{ else if eq .chezmoi.hostname "ubuntu" }}
@@ -52,6 +55,7 @@ eval "$(zoxide init zsh)"
eval "$(direnv hook zsh)" eval "$(direnv hook zsh)"
source /usr/share/zsh/site-functions/zsh-autosuggestions.zsh source /usr/share/zsh/site-functions/zsh-autosuggestions.zsh
source /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh source /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh
source <(COMPLETE=zsh jj)
{{ else if eq .chezmoi.os "darwin" }} {{ else if eq .chezmoi.os "darwin" }}