have to source twice...
rebelot opened this issue · comments
I came across something weird:
I am on MacOSX High Sierra with its plain bash and iTerm2.
the weird thing is, I log in, I cd
into a repo, nothing happens, then I manually source ~/.bash_profile
and everything is working fine...
I've added echos here and there and everything is sauced correctly at login, but the prompt does not appear until I source a second time, does not matter from which directory...
solved (should anyone be interested).... anything bound to modify PS1 should come before source "${HOME}/.iterm2_shell_integration.bash
or iterm2 cripples it
Nice to know. Do you think I should add this to the documentation, @tommasolaurenzi?
It might suffice to have this marked as a closed issue, but it won’t hurt to have this in the docs!
Great job btw, your repo makes learning git really fun^^
Ciao!