zpm-zsh/zpm

An issue about PATH

wweir opened this issue · 4 comments

wweir commented
% echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/wweir/.local/bin:/home/wweir/.cargo/bin/home/wweir/.zpm/plugins/zpm-zsh---colors/bin /home/wweir/.zpm/plugins/zpm-zsh---background/bin /home/wweir/.zpm/plugins/chrissicool---zsh-256color/bin /home/wweir/.zpm/plugins/zpm-zsh---colorize/bin /home/wweir/.zpm/plugins/miekg---lean/bin /home/wweir/.zpm/plugins/zdharma---fast-syntax-highlighting/bin /home/wweir/.zpm/plugins/agkozak---zsh-z/bin /home/wweir/.zpm/plugins/tj---git-extras/bin /home/wweir/.zpm/plugins/zsh-users---zsh-history-substring-search/bin /home/wweir/.zpm/plugins/@empty---kubectl/bin /home/wweir/.zpm/plugins/@empty---helm/bin /home/wweir/.zpm/plugins/@empty---rustup/bin /home/wweir/.zpm/plugins/@empty---cargo/bin
%
% # After start a child zsh
% zsh
% echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/wweir/.local/bin:/home/wweir/.cargo/bin/home/wweir/.zpm/plugins/zpm-zsh---colors/bin /home/wweir/.zpm/plugins/zpm-zsh---background/bin /home/wweir/.zpm/plugins/chrissicool---zsh-256color/bin /home/wweir/.zpm/plugins/zpm-zsh---colorize/bin /home/wweir/.zpm/plugins/miekg---lean/bin /home/wweir/.zpm/plugins/zdharma---fast-syntax-highlighting/bin /home/wweir/.zpm/plugins/agkozak---zsh-z/bin /home/wweir/.zpm/plugins/tj---git-extras/bin /home/wweir/.zpm/plugins/zsh-users---zsh-history-substring-search/bin /home/wweir/.zpm/plugins/@empty---kubectl/bin /home/wweir/.zpm/plugins/@empty---helm/bin /home/wweir/.zpm/plugins/@empty---rustup/bin /home/wweir/.zpm/plugins/@empty---cargo/bin:/home/wweir/.local/bin:/home/wweir/.cargo/bin/home/wweir/.zpm/plugins/zpm-zsh---colors/bin /home/wweir/.zpm/plugins/zpm-zsh---background/bin /home/wweir/.zpm/plugins/chrissicool---zsh-256color/bin /home/wweir/.zpm/plugins/zpm-zsh---colorize/bin /home/wweir/.zpm/plugins/miekg---lean/bin /home/wweir/.zpm/plugins/zdharma---fast-syntax-highlighting/bin /home/wweir/.zpm/plugins/agkozak---zsh-z/bin /home/wweir/.zpm/plugins/tj---git-extras/bin /home/wweir/.zpm/plugins/zsh-users---zsh-history-substring-search/bin /home/wweir/.zpm/plugins/@empty---kubectl/bin /home/wweir/.zpm/plugins/@empty---helm/bin /home/wweir/.zpm/plugins/@empty---rustup/bin /home/wweir/.zpm/plugins/@empty---cargo/bin

@wweir Upgrade zpm

@wweir
Next try.
Please upgrade zpm using git: cd ~/.zpm; git pull

wweir commented

@grigorii-horos It is fixed. It work correctly after execute zpm clean

% echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/wweir/.local/bin:/home/wweir/.cargo/bin:/home/wweir/.zpm/plugins/zpm-zsh---colorize/bin:/home/wweir/.zpm/plugins/tj---git-extras/bin
% zsh
% echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/wweir/.local/bin:/home/wweir/.cargo/bin:/home/wweir/.zpm/plugins/zpm-zsh---colorize/bin:/home/wweir/.zpm/plugins/tj---git-extras/bin:/home/wweir/.local/bin:/home/wweir/.cargo/bin:/home/wweir/.zpm/plugins/zpm-zsh---colorize/bin:/home/wweir/.zpm/plugins/tj---git-extras/bin

@wweir You should completely close your terminal session, because zsh use PATH from previous zsh session.