title: How can I fix Edit cancelled, no changes made in shell
body: <p>I run</p>
  
  <pre><code>kubectl edit deployment
  </code></pre>
  
  <p>to change the version of one of my pods (this commands opens a temp file in my text editor and then I usually edit and close this temp file) and even before I <em>close</em> this temp file in my text editor I can see the following note in my bash.</p>
  
  <pre><code>Edit cancelled, no changes made.
  </code></pre>
  
  <p>It was OK before I installed <em>fish</em> and I tried to switch to <em>bash</em> but it doesn't help either.</p>
  
  <p>How can I fix it?</p>