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\

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?


1 comment

Read this stackoverflow post:


I solved it using:


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

Please sign in to leave a comment.