How to fix your terminal prepending 00~ when pasting in anything

Originally published at https://shivankaul.com/blog/paste-bracketing-iterm2 . Here because of Claude Code? If you’re here because of Claude Code messing up paste bracketing in your terminal, try putting in the following in your .bashrc or .bash_profile : claude () { command claude " $@ " printf '\e[?2004l' } (credit: this GitHub issue comment ) I actually ended up writing a wrapper script for…