From 8433a7099cfaaf83233699345f1e02369b54ac93 Mon Sep 17 00:00:00 2001 From: gered Date: Tue, 29 Oct 2024 21:28:48 -0400 Subject: [PATCH] also set DOTNET_ROOT environment variable unsure if this is really needed, but the microsoft docs also mention it --- bashrc.d/dotnet.bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bashrc.d/dotnet.bashrc b/bashrc.d/dotnet.bashrc index 445ac7e..7f3020d 100755 --- a/bashrc.d/dotnet.bashrc +++ b/bashrc.d/dotnet.bashrc @@ -15,5 +15,6 @@ function install_dotnet { } if [ -d "${HOME}/.dotnet" ]; then - export PATH=${PATH}:${HOME}/.dotnet:${HOME}/.dotnet/tools + export DOTNET_ROOT=${HOME}/.dotnet + export PATH=${PATH}:${DOTNET_ROOT}:${DOTNET_ROOT}/tools fi