I have a custom prompt (with powerline) configured for bash shell. However, it is not displayed until I issue the first command or press enter.
I currently use iTerm2 as terminal application and bash installed with brew.
On the other computer where I also have Powerline installed and the same configuration files it is always displayed when opening the shell.
The chunk of code that sets the powerline prompt is in the .bash_profile
file:
# add support for powerline-status
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/local/lib/python2.7/site-packages/powerline/bindings/bash/powerline.sh
My guess is that it may be due to any setting the prompt in a bash file that might be loaded later or something related but I don't know how to fix it.