aboutsummaryrefslogtreecommitdiffstats
path: root/.config/zsh
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh')
-rw-r--r--.config/zsh/includes/path.zsh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/zsh/includes/path.zsh b/.config/zsh/includes/path.zsh
index 272feac..916a444 100644
--- a/.config/zsh/includes/path.zsh
+++ b/.config/zsh/includes/path.zsh
@@ -1,5 +1,9 @@
# cargo
[ -d "${HOME}/.cargo/bin" ] && PATH="${HOME}/.cargo/bin:${PATH}"
+# rustup
+if command -v rustup > /dev/null; then
+ [[ -d "${HOME}/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin" ]] && PATH="${HOME}/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin:${PATH}"
+fi
# pyenv
[ -d "${HOME}/.local/bin" ] && PATH="${HOME}/.local/bin:${PATH}"
[ -d "${HOME}/.local/share/pyenv/shims" ] && PATH="${HOME}/.local/share/pyenv/shims:${PATH}"