twolfson / sexy-bash-prompt

Bash prompt with colors, git statuses, and git branches.
MIT License
1.14k stars 154 forks source link

Weird behavior when running 'zsh' #55

Closed gustavoper closed 8 years ago

gustavoper commented 8 years ago

When running 'zsh' on ITerm2, I got that weird messages.

201511_error

Note that I hit Enter a few times just to see if message disappears, but it's still there.

I`m using OSX (10.11.1) El Captan.

rpdelaney commented 8 years ago

sexy-bash-prompt is for, well, bash after all. Did you try setting a new PS1 in your zshrc?

twolfson commented 8 years ago

Another possibility is that we installed to ~/.profile due to ~/.bash_profile and ~/.bash_login not existing.

https://github.com/twolfson/sexy-bash-prompt/blob/0.26.1/install.bash#L29-L31

rpdelaney commented 8 years ago

Hmm. Would this be a basis for handling that situation differently?

twolfson commented 8 years ago

Possibly, still waiting to hear back from @gustavoper to see if that's actually the problem.

gustavoper commented 8 years ago

Oh, sorry for being too late. But I tried almost everything, but it only worked after a full reinstall of Iterm2 and applying all updates. Now it's wokting like a charm.

twolfson commented 8 years ago

Weird. Alright, thanks for the bug report =)

barretV commented 1 year ago

somehow I'm getting this issue tried removing iterm and reinstalling but no luck, even installed beta versions. it worked fine at first but I accidentally ran the script twice and that's when it looked messed up and I can't get it back no matter what I do even following uninstall methods. very strange. if anyone else has this figured out let me know

UPDATE: found the solution, used this and it works https://github.com/stevenwenxu/sexy-zsh-prompt/tree/zsh