How to improve the terminal window in IDEA

Published on:

I present here a small tip for improving the IntellJ IDEA Terminal window.
Under Linux, it doesn't execute the ~/.bashrc file at startup. so it doesn't have the correct PATH and other important settings like environment variables.

My first attempt was to create a ~/.profile script that called my ~/.bashrc. It worked, but whenever I rebooted my computer, I couldn't log in. My KDE desktop complains. I have to open a console session in order to fix it.

Luckily, I've found a simple solution that works, and doesn't have this nasty secondary effect.

Open the IDEA settings, as shown in the following screenshot:

The important setting is to add the -i parameter to bash. In this way, the shell becomes interactive, and executes .bash_rc, like a regular console Window.


comments powered by Disqus