mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
add colon between asdf segment and PATH
This commit is contained in:
parent
d3895f593c
commit
28cfda2179
4
asdf.sh
4
asdf.sh
@ -18,8 +18,8 @@ ASDF_SHIMS="${ASDF_DIR}/shims"
|
|||||||
[[ ":$PATH:" == *":${ASDF_BIN}:"* ]] && PATH="${PATH//$ASDF_BIN:/}"
|
[[ ":$PATH:" == *":${ASDF_BIN}:"* ]] && PATH="${PATH//$ASDF_BIN:/}"
|
||||||
[[ ":$PATH:" == *":${ASDF_SHIMS}:"* ]] && PATH="${PATH//$ASDF_SHIMS:/}"
|
[[ ":$PATH:" == *":${ASDF_SHIMS}:"* ]] && PATH="${PATH//$ASDF_SHIMS:/}"
|
||||||
# add to front of $PATH
|
# add to front of $PATH
|
||||||
PATH="${ASDF_BIN}$PATH"
|
PATH="${ASDF_BIN}:$PATH"
|
||||||
PATH="${ASDF_SHIMS}$PATH"
|
PATH="${ASDF_SHIMS}:$PATH"
|
||||||
|
|
||||||
if [ -n "$ZSH_VERSION" ]; then
|
if [ -n "$ZSH_VERSION" ]; then
|
||||||
autoload -U bashcompinit
|
autoload -U bashcompinit
|
||||||
|
Loading…
Reference in New Issue
Block a user