.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

質問済み 5年前499ビュー
2回答
1
承認された回答

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
回答済み 5年前
0

Yep, that worked! Thanks.

回答済み 5年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ