Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[readme] fix --no-use example #3479

Merged
merged 1 commit into from
Feb 4, 2025
Merged

Conversation

jeremygau
Copy link
Contributor

Fix the --no-use example

When i first try to use the --no-use flag i thought I had to write [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh --no-use" because of the example (see the missed placed double quote)

@ljharb
Copy link
Member

ljharb commented Feb 3, 2025

Thanks! maybe let's reword the comment to provide the entire alternate snippet, so that it's impossible to misinterpret?

@ljharb ljharb marked this pull request as draft February 3, 2025 18:14
@ljharb ljharb force-pushed the fix--no-use-example branch from ad79ae6 to 3c3f66c Compare February 4, 2025 06:13
@ljharb ljharb marked this pull request as ready for review February 4, 2025 06:13
@ljharb ljharb force-pushed the fix--no-use-example branch from 3c3f66c to 247ed8a Compare February 4, 2025 06:13
@ljharb ljharb changed the title [Documentation] README.md: fix --no-use example [readme] fix --no-use example Feb 4, 2025
@ljharb ljharb merged commit 247ed8a into nvm-sh:master Feb 4, 2025
177 of 179 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants