From 4b947ab25fd5666b4c6990d5331d1996962914d4 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 19 Apr 2021 01:16:36 +0100 Subject: [PATCH] chore(zshenv): remove needless PATH setup Path setup for shim dirs of rbenv, pyenv, and nodenv are no longer needed, as their init scripts are cached and loaded in the background. And their init scripts will add the shim directories to PATH. The setup we're removing here are left-over from when all three tools were being lazy loaded upon first use of the command, or first shell completion for the command. --- zshenv | 9 --------- 1 file changed, 9 deletions(-) diff --git a/zshenv b/zshenv index c3766b1..2c65c60 100644 --- a/zshenv +++ b/zshenv @@ -154,15 +154,6 @@ export GOPATH="$HOME/.go" export GOROOT="$HOME/.local/go" path_prepend "$GOPATH/bin" -# Ruby setup for rbenv (./zsh/ruby.zsh) -path_prepend "$HOME/.rbenv/shims" - -# Python setup for pyenv (./zsh/python.zsh) -path_prepend "$HOME/.pyenv/shims" - -# Node setup for nodenv (./zsh/nodejs.zsh) -path_prepend "$HOME/.nodenv/shims" - # Rust setup path_prepend "$HOME/.cargo/bin"