add colon between asdf segment and PATH

This commit is contained in:
James Hegedus 2018-03-09 01:02:08 +11:00
parent d3895f593c
commit 28cfda2179

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