From d597858ccee6a70a10b850da583f9fd58861de71 Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Sat, 20 Feb 2021 13:46:27 +0200 Subject: [PATCH] [zsh] stop adding the 'bin' directory of Rustup toolchains to the PATH, this broke per-directory overrides because those rely on toolchain executables being symlinked to the rustup exe itself --- zsh/path.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/path.zsh b/zsh/path.zsh index fff9b36..02da266 100644 --- a/zsh/path.zsh +++ b/zsh/path.zsh @@ -89,7 +89,7 @@ if [[ -f ~/.rustup/settings.toml ]]; then if [[ -n "$rust_toolchain" ]]; then rust_sysroot=~/.rustup/toolchains/"$rust_toolchain" - path_prepend path "$rust_sysroot"/bin + # path_append path "$rust_sysroot"/bin path_prepend fpath "$rust_sysroot"/zsh/site-functions path_prepend manpath "$rust_sysroot"/share/man path_prepend ld_library_path "$rust_sysroot"/lib