[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

This commit is contained in:
Dmytro Meleshko 2021-02-20 13:46:27 +02:00
parent a5f7bd3565
commit d597858cce

View file

@ -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