When using ZSH with oh-my-zsh and iTerm, I noticed some URLs or strings I pasted in were escaped with a \ on special characters.

I wasn’t sure if it was an iTerm or a feature tied to oh-my-zsh but adding:


to my .zshrc and then source the file again via:

source ~/.zshrc

seems to do the trick.

A restart of the terminal should also work as well.