mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 09:38:16 -07:00
use variable in all places
This commit is contained in:
parent
99110ce8d3
commit
c112fbf296
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_DIR}/bin:$PATH"
|
PATH="${ASDF_BIN}$PATH"
|
||||||
PATH="${ASDF_DIR}/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