Why does my iTerm2 launch with an X in it's path? After upgrading to El Capitan, then working on installing Rails, my iTerm2 shell now opens with x &gt;, instead of just &gt;.

Can someone please explain why this is happening, and help me figure out how to return it to it's normal home?
You have shell integration installed and the last command executed failed:

Example:



DoesNotExist cmd does not exist, thus an error 127:




  Command status
  
  The mark on a command line will turn red if a command fails. You can right click the mark to view its return code.


Re: https://iterm2.com/shell_integration.html