Both prepended to PATH directly, so re-sourcing them in the same shell would duplicate entries — same issue _path_append already fixed for profile.d/path and rc.d/rvm. _path_prepend keeps the same priority ordering (these paths still take precedence over the rest of PATH) while adding the dedup guard.
4 lines
91 B
Plaintext
4 lines
91 B
Plaintext
if (command -v krew &>/dev/null); then
|
|
_path_prepend "${KREW_ROOT:-${HOME}/.krew}/bin"
|
|
fi
|