Remote development does not run ~/.bashrc on the remote host while compiling


I am trying to use remote development according to However, it seems that the ~/.bashrc script on the remote host is not invoked when the compiling is running. May I know how to configure CLion or the remote host such that the remote compiling will always invoke ~/.bashrc first?

The local machine is with Ubuntu 18.04 and the remote machine is with Ubuntu 16.04. There are important environment variables in ~/.bashrc of the remote host to have the compilation successful. 

Thank you in advance for the help!


Please sign in to leave a comment.