Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

have to source twice... #130

Open
rebelot opened this issue Mar 19, 2018 · 3 comments
Open

have to source twice... #130

rebelot opened this issue Mar 19, 2018 · 3 comments

Comments

@rebelot
Copy link

rebelot commented Mar 19, 2018

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...

@rebelot
Copy link
Author

rebelot commented Mar 19, 2018

solved (should anyone be interested).... anything bound to modify PS1 should come before source "${HOME}/.iterm2_shell_integration.bash or iterm2 cripples it

@arialdomartini
Copy link
Owner

Nice to know. Do you think I should add this to the documentation, @tommasolaurenzi?

@rebelot
Copy link
Author

rebelot commented Mar 22, 2018

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants