From c5d839c5cc6f966aed19cde91a384bf5d46edd98 Mon Sep 17 00:00:00 2001 From: Sebastian Bugge Date: Fri, 30 Jun 2023 21:04:03 +0200 Subject: [PATCH] fix cargo env load --- .profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.profile b/.profile index ad3b7a6..4a99211 100644 --- a/.profile +++ b/.profile @@ -8,7 +8,7 @@ if [ -d "$HOME/.local/bin" ]; then PATH="$HOME/.local/bin:$PATH" fi -if [ -d "$HOME/.cargo/env" ]; then +if [ -s "$HOME/.cargo/env" ]; then . "$HOME/.cargo/env" fi