Cargo env include only if .cargo exists

deblo
Jurij Podgoršek 2024-10-13 13:57:01 +02:00
parent a6f7721898
commit b2ca973d1c
1 changed files with 3 additions and 1 deletions

View File

@ -52,4 +52,6 @@ export XDG_CURRENT_DESKTOP=sway
export GUIX_PROFILE="$HOME/.guix-profile"
export GUIX_PACKAGE_PATH="$HOME/projekti/guix-paketi"
if [[ -d "$HOME/.cargo" ]]; then
. "$HOME/.cargo/env"
fi