about summary refs log tree commit diff
path: root/fish/.local/etc/fish/conf.d/dotnet.fish
blob: 282aa60653a8ba493167f9170d0398aa8c871450 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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