From 03af2feda9eb9e961fd644d9be03b18caf39879a Mon Sep 17 00:00:00 2001 From: mitchell Date: Sun, 17 Jan 2021 23:47:57 -0500 Subject: [PATCH] Modify how .net env vars are set --- .config/fish/functions/define_global_variables.fish | 1 - .config/fish/functions/import_sources.fish | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/fish/functions/define_global_variables.fish b/.config/fish/functions/define_global_variables.fish index 494e03c..55b140e 100644 --- a/.config/fish/functions/define_global_variables.fish +++ b/.config/fish/functions/define_global_variables.fish @@ -3,7 +3,6 @@ function define_global_variables -d 'Defines all and exclusively globally export set -gx DOTNET_ENVIRONMENT Development set -gx DOTNET_CLI_TELEMETRY_OPTOUT true - set -gx DOTNET_ROOT $HOME/.asdf/installs/dotnet-core/(command -q dotnet; and dotnet --version) set -gx EDITOR nvim set -gx BROWSER qutebrowser diff --git a/.config/fish/functions/import_sources.fish b/.config/fish/functions/import_sources.fish index 2e1c70b..66dc547 100644 --- a/.config/fish/functions/import_sources.fish +++ b/.config/fish/functions/import_sources.fish @@ -1,5 +1,6 @@ function import_sources -a uname -d 'Loads any additional fish files needed at init.' command -q kitty; and kitty + complete setup fish | source + test -f ~/.asdf/plugins/dotnet-core/set-dotnet-home.fish; and source ~/.asdf/plugins/dotnet-core/set-dotnet-home.fish switch "$uname" case 'Linux'