use variable in all places

This commit is contained in:
James Hegedus 2018-03-06 21:53:39 +11:00
parent 99110ce8d3
commit c112fbf296

View File

@ -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