mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[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:
parent
a5f7bd3565
commit
d597858cce
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ if [[ -f ~/.rustup/settings.toml ]]; then
|
||||||
|
|
||||||
if [[ -n "$rust_toolchain" ]]; then
|
if [[ -n "$rust_toolchain" ]]; then
|
||||||
rust_sysroot=~/.rustup/toolchains/"$rust_toolchain"
|
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 fpath "$rust_sysroot"/zsh/site-functions
|
||||||
path_prepend manpath "$rust_sysroot"/share/man
|
path_prepend manpath "$rust_sysroot"/share/man
|
||||||
path_prepend ld_library_path "$rust_sysroot"/lib
|
path_prepend ld_library_path "$rust_sysroot"/lib
|
||||||
|
|
Loading…
Reference in a new issue