about summary refs log tree commit diff
path: root/fish/.local/etc/fish/conf.d/dotnet.fish
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--fish/.local/etc/fish/conf.d/dotnet.fish14
1 files changed, 14 insertions, 0 deletions
diff --git a/fish/.local/etc/fish/conf.d/dotnet.fish b/fish/.local/etc/fish/conf.d/dotnet.fish
new file mode 100644
index 0000000..282aa60
--- /dev/null
+++ b/fish/.local/etc/fish/conf.d/dotnet.fish
@@ -0,0 +1,14 @@
+if command -s dotnet &>/dev/null
+    set -a PATH $HOME/.dotnet/tools
+
+    set -x DOTNET_CLI_TELEMETRY_OPTOUT 1
+    set -x DOTNET_SKIP_FIRST_TIME_EXPERIENCE 1
+
+    if command -s nuget &>/dev/null
+        set -x NUGET_CERT_REVOCATION_MODE online
+        set -x NUGET_PERSIST_DG false
+        set -x NUGET_RESTORE_MSBUILD_VERBOSITY normal
+        set -x NUGET_SHOW_STACK true
+        set -x NUGET_XMLDOC_MODE skip
+    end
+end

Consider giving Nix/NixOS a try! <3