bash: source .cargo/env case exists (for rustup)

This commit is contained in:
2025-11-08 04:27:15 +01:00
parent 165873dec0
commit 8bb065b8a6
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
[ -d "$HOME/.local/bin" ] && export PATH="$HOME/.local/bin:$PATH"
[ -d "$HOME/.local/scripts" ] && export PATH="$HOME/.local/scripts:$PATH"
[ -d "$HOME/.cargo/bin" ] && export PATH="$HOME/.cargo/bin:$PATH"
[ -f "$HOME/.cargo/env" ] && source "$HOME/.cargo/env"
[ -d "$HOME/go/bin" ] && export PATH="$HOME/go/bin:$PATH"
[ -x "$HOME/.local/scripts/ssh-init" ] && eval "$(ssh-init)"