-
-
Notifications
You must be signed in to change notification settings - Fork 197
Webstorm Ubuntu .bash_profile #1358
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
Comments
Looking at resources like: I think the correct script to modify here would be the init script for interactive shells i.e. It seems the latest version of the service installing completions modifies all shell init scripts:
which seems incorrect. We should target |
I had a similar problem on Mac. OS: Mac El Capitan 10.11.5 I just installed nativescript via npm install -g nativescript but ran into a set of odd problems, which seem to have been caused by the install script creating a .bash_profile, which resulted in my .profile being skipped. I've used .profile on Mac because many programs assume .profile. It also appears that both the android installation and the java installation (run under the control of the nativescript install) both use .profile as well, as these two lines were added to the end of my .profile:
I was able to resolve my issues by adding the following to the top of my .bash_profile:
Copied from original issue: NativeScript/NativeScript#2506 |
I've noticed the installer has created a
.bash_profile
.bash_profile:
Normally Ubuntu does not have a
.bash_profile
and will load.bashrc
.The problem with the above is the rest of the environment will not get loaded while
.bashrc
is not being sourced.Adding something like
[[ -s ~/.bashrc ]] && source ~/.bashrc
to the file would accomplish that.I mention Webstorm, because it's terminal will consider loading
.bash_profile
instead of.bashrc
which made it suddenly not load my normal environment anymore (e.g. nvm etc)The text was updated successfully, but these errors were encountered: