-
-
Notifications
You must be signed in to change notification settings - Fork 8k
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
Add missing backslash for dots #1322
Conversation
@@ -116,7 +116,7 @@ export NVM_DIR="$HOME/.nvm" && ( | |||
git clone https://github.com/creationix/nvm.git "$NVM_DIR" | |||
cd "$NVM_DIR" | |||
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" origin` | |||
) && . "$NVM_DIR/nvm.sh" | |||
) && \. "$NVM_DIR/nvm.sh" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The readme doesn't need the slash - virtually nobody actually aliases .
to something.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a little bit confused ..., so nobody actually aliases .
to something, why do we need to backslash them in some other places as the references?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
virtually nobody. One user did it, and as a requirement for accepting their change to \.
in the script, i wanted the tests to exercise that too.
I don't want that going in the readme, though, to tacitly encourage the practice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So just remove the part in readme? What about line 77, 127?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only places .
should be escaped are in actual code - not in documentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, should I remove all of it in readme? Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes please.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
8da2250
to
043d0f2
Compare
043d0f2
to
7ed1e71
Compare
No description provided.