aboutsummaryrefslogtreecommitdiff
path: root/exports/.exports
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-11-04 22:24:11 +0100
committerBond_009 <bond.009@outlook.com>2021-11-04 22:24:11 +0100
commitbee944c9416fc263d561fc05af66ede395b1016b (patch)
tree76613a3975e05893876019706c4945353631d0b7 /exports/.exports
parent36644e1ee58c00db3942c6039df7f2c737fbb950 (diff)
Streamline shell init
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