-
-
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
Install script should use \.
in case of overridden .
#1278
Comments
@ranqiangjun wow, i've never heard of anyone aliasing over
|
It might be possible to use |
|
Great, if that change also works on other shells, I'll add that to the install script. That said, you absolutely should remove that alias immediately - |
I run this kind of script before https://github.com/darol100/lazydubuntu/blob/master/bin/lazyaliases.sh. It added aliases for me automatically. I'll remove that. Thanks again. @ljharb |
Nothing in that script aliases over one dot, only 2, 3, and 4 dots. |
Yes, that script is fine. It is only an example. I just don't know which script added that. In my .bash_profile I found:
It is for sure that this is not added by me manually. Because English is not my first language, that comment |
I'd definitely recommend removing all of those aliases and just using Thanks for the report! |
All removed. I appreciate your time. |
\.
in case of overridden .
Since #576 was closed. I create a new one here.
I got the same error after installed nvm followed the README on macOS Sierra 10.12.1.
According to @ljharb 's comment: #576 (comment)
It is NOT TRUE that
. something
andsource something
are the same.In my MBP,
.
is an alias ofcd ..
defined in the .bash_profile file. I am not sure it was provided by default or not. But after I replaced.
withsource
explicitly, the nvm works.Before:
After:
I suggest that whether the
.
alias was provided by default or not, we should modify our README and INSTALL SCRIPT to usesource
explicitly, not the.
.The text was updated successfully, but these errors were encountered: