aboutsummaryrefslogtreecommitdiff
path: root/exports/.exports
diff options
context:
space:
mode:
Diffstat (limited to 'exports/.exports')
-rw-r--r--exports/.exports15
1 files changed, 15 insertions, 0 deletions
diff --git a/exports/.exports b/exports/.exports
new file mode 100644
index 0000000..5bc59e1
--- /dev/null
+++ b/exports/.exports
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# PATH
+## Set PATH so it includes user's private bin, cargos bin and dotnet if they exist
+[ -d "$HOME/bin" ] && export PATH="$HOME/bin:$PATH"
+[ -d "$HOME/.local/bin" ] && export PATH="$HOME/.local/bin:$PATH"
+[ -d "$HOME/.cargo/bin" ] && export PATH="$HOME/.cargo/bin:$PATH"
+[ -d "$HOME/dotnet" ] && export PATH="$HOME/dotnet:$PATH" && export DOTNET_ROOT="$HOME/dotnet"
+[ -d "$HOME/.dotnet/tools" ] && export PATH="$HOME/.dotnet/tools:$PATH"
+
+# DOTNET
+export DOTNET_CLI_TELEMETRY_OPTOUT=1
+
+# RUST
+export RUST_BACKTRACE=full