.bashrc file not loaded in AWS Cloud 9

0

The issue is I lost my terminal prompt colors and formatting. I prefer the old c9.io formatting. I can see the formatting is in there in the new AWS c9 .bashrc file, but the file is not loading.

It appears to be because .bash_profile loads instead... which I think is meant to load some Ruby scripts. If I rename/remove the .bash_profile file then the .bashrc file loads and all is well. But I am sure that's not advised and I'm at the limit of my knowledge here. Any suggestions for how how to make sure the .bashrc file loads?

Edited by: DanOlson on Apr 22, 2019 12:46 PM

asked 5 years ago500 views
2 Answers
1
Accepted Answer

Hello Dan!

I assume you're using Ubuntu environment, am I right?
If so, you can add following line to .bash_profile

[[ -f ~/.bashrc ]] && source ~/.bashrc
profile pictureAWS
answered 5 years ago
0

Yep, that worked! Thanks.

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions