gnachman / iterm2-website

Website for iTerm2
http://iterm2.com/
GNU General Public License v2.0
81 stars 65 forks source link

iTerm2 Zsh Shell Integration: command line prompt started with an unexcepted char? #74

Closed newtorn closed 4 years ago

newtorn commented 4 years ago

After I Installed Shell Integration, iTerm2 command line prompt started with an unexcepted char, then I checked the .zshrc file, has shell command: test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh", it alias iTerm2 shell integration tools, but before alias has some command that set prompt, then I do these operations.It works normally when do not execute test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh": isi Is this my problem, please tell me.

gnachman commented 4 years ago

The blue arrow is a mark, and it indicates that shell integration identified a shell prompt there. If you prefer not to see it, disable this setting:

image