At the very end of .bashrc I do echo "The END". But even after this statement gets printed, there is a huge delay sometimes more than 5 seconds, to get the PS1 prompt.
How can I diagnose this? Any suggestions?
Tried Solutions
- I did
bash -x. The last output is indeedThe END. - I changed prompt variable to just
PS1='$ ', but this has no effect.