Skip to content

Conversation

@tim-connolly
Copy link
Contributor

Do not use the aliased cd inside cdnvm().

This avoids an infinite loop when re-reading ~/.bashrc - eg. if the user does a source ~/.profile.

@ljharb ljharb force-pushed the avoid-infinite-loop branch from 4a0b180 to ca897ac Compare September 29, 2021 05:18
@ljharb ljharb merged commit ca897ac into nvm-sh:master Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants