1

I edited my .bashrc file to change the command prompt. I got it to work but the problem is it doesn't launch immediately upon opening the terminal. But when I type "bash" it appears correctly. Is there any way to get the prompt to appear correctly without using the bash command?

1 Answers1

1

I figured it out, i just entered the following code into ~/.bash_profile:

if [[ $- == *i* && -f ~/.bashrc ]]; then
    . ~/.bashrc
fi