aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2023-08-02 18:32:26 +0200
committerDavid Runge <dave@sleepmap.de>2023-08-02 18:32:26 +0200
commit9a24e1e45d6ef8dbf62baa8130aaaa76fb316e63 (patch)
treee0787355ba19283c905cd8fc3cf3ab7bbff77f7a
parent735823855ba8ea305f6356ef65c7ed96566080cd (diff)
downloaddotfiles-9a24e1e45d6ef8dbf62baa8130aaaa76fb316e63.tar.gz
dotfiles-9a24e1e45d6ef8dbf62baa8130aaaa76fb316e63.tar.bz2
dotfiles-9a24e1e45d6ef8dbf62baa8130aaaa76fb316e63.tar.xz
dotfiles-9a24e1e45d6ef8dbf62baa8130aaaa76fb316e63.zip
zsh: Remove broken custom rustup handling
-rw-r--r--.config/zsh/includes/path.zsh6
1 files changed, 2 insertions, 4 deletions
diff --git a/.config/zsh/includes/path.zsh b/.config/zsh/includes/path.zsh
index 916a444..7f4da06 100644
--- a/.config/zsh/includes/path.zsh
+++ b/.config/zsh/includes/path.zsh
@@ -1,9 +1,7 @@
+#!/usr/bin/zsh
+
# 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}"