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":
Is this my problem, please tell me.
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 executetest -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
: Is this my problem, please tell me.