title: Prevent ipython %paste from polluting shell previous commands
body: <p>There seems to have been a recent change in ipython (I'm using <code>8.4.0</code>) where <code>%paste</code> acts as if it were a literal paste (<code>ctrl+v</code>).</p>
  <p>This is undesired because</p>
  <ul>
  <li>I can already do direct pastes with <code>ctrl+shift+v</code> in my terminal</li>
  <li>I like being able to quickly access previous manually typed commands instead of stuff pasted in.</li>
  <li>I sometimes paste large dumps</li>
  </ul>
  <h1>Example</h1>
  <p>In both example I paste in a few commands and press the up arrow.</p>
  <p><strong>clipboard</strong></p>
  <p>Suppose I have the following in my clipboard</p>
  <pre><code>a=[1,2,3,4,5]
  b=[4,5,6,7,8]
  </code></pre>
  <p><strong>ipython 7.13.0 (desired behavior)</strong></p>
  <pre><code>In [1]: %paste                                                                                                                          
  a=[1,2,3,4,5]
  b=[4,5,6,7,8]
  
  ## -- End pasted text --
  
  In [2]: %paste
  </code></pre>
  <p><strong>ipython 8.4.0 (new behavior)</strong></p>
  <pre><code>In [1]: %paste
  a=[1,2,3,4,5]
  b=[4,5,6,7,8]
  
  ## -- End pasted text --
  
  In [3]: a=[1,2,3,4,5]
     ...: b=[4,5,6,7,8]
  </code></pre>
  <h1>conclusion</h1>
  <p>Are there any ipython configurations I can change to bring back the old paste magic behavior?</p>