summaryrefslogtreecommitdiff
path: root/zsh/.zshenv
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/.zshenv')
-rw-r--r--zsh/.zshenv12
1 files changed, 12 insertions, 0 deletions
diff --git a/zsh/.zshenv b/zsh/.zshenv
new file mode 100644
index 0000000..e7aa6ab
--- /dev/null
+++ b/zsh/.zshenv
@@ -0,0 +1,12 @@
+if [[ -d $HOME/.npm-packages/bin ]] && [[ ! $PATH == *"$HOME/.npm-packages/bin"* ]] {
+ export PATH="$HOME/.npm-packages/bin:$PATH"
+}
+
+if [[ -d $HOME/.cargo/bin ]] && [[ ! $PATH == *"$HOME/.cargo/bin"* ]] {
+ export PATH="$HOME/.cargo/bin:$PATH"
+}
+
+if [[ -d $HOME/.local/bin ]] && [[ ! $PATH == *"$HOME/.local/bin"* ]] {
+ export PATH="$HOME/.local/bin:$PATH"
+}
+. "$HOME/.cargo/env"