How to link .bash_profile to internal terminal

One way I'm aware of doing this is to use Tools > Create Command LIne Launcher
Another way, if you are on a mac, which is somewhat similar is typing something like this in terminal: open /Applications/Developer/PhpStorm\ EAP-126.162.app

But the problem with both methods is that I prefer using the latest EAP rather than a stable version, and so this command line would have to change once a week. Also I would prefer to launch the IDE using my app launcher. What would be really great if I could tell phpstorm to run my ~/.bash_profile every time it accesses the command line.

Is it possible?

Thanks!

1 comment

Read this stackoverflow post: https://stackoverflow.com/a/51522459/2722625

 

I solved it using:

    

echo "source ~/.bash_profile" >> .profile
0

Please sign in to leave a comment.