Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions libexec/ndenv-init
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ fi

mkdir -p "${NDENV_ROOT}/"{shims,versions}

if [[ ":${PATH}:" != *:"${NDENV_ROOT}/shims":* ]]; then
echo 'export PATH="'${NDENV_ROOT}'/shims:${PATH}"'
fi
# Don't check to see if it is already included. This can cause problems
# when reentering a shell (ie, via screen or tmux).
echo 'export PATH="'${NDENV_ROOT}'/shims:${PATH}"'

case "$shell" in
bash | zsh )
Expand Down