title: ZSH environment on remote computer broken, crashes as soon as logging in via ssh
body: <p>I had trouble running oh-my-zsh on a remote computer, to which I don't have root access, so I tried   <a href="https://stackoverflow.com/a/15293565/11542903">downloading and compiling zsh by following these steps.</a></p>
  <p>I know I messed up on the last step, where I was supposed to start zsh <a href="https://stackoverflow.com/a/15293565/11542903">&quot;explicitly, or programmatically from your current shell's startup file (put <code>exec $HOME/bin/zsh -l</code> in the right spot).&quot;</a></p>
  <p>I added <code>exec $HOME/bin/zsh -l</code> in the first line of my ~/.zshrc and sourced it, and everything froze.
  Now after logging out I can't remove my changes because the shell crashes as soon as I log in to the remote via ssh:</p>
  <pre><code>Last login: Thu Aug 20 11:50:42 2020 from ***.***.***.*
  
  
  ~/.zshrc:3: exec format error: ~/bin/zsh
  Connection to *my.remote* closed.
  </code></pre>
  <p>alternatively, VScode remote ssh shoots back this error after the terminal crashes:</p>
  <pre><code>The terminal process &quot;/bin/zsh '-l'&quot; terminated with exit code: 126.
  </code></pre>
  <p>Any help for my stupid mistake is greatly appreciated. Thanks.</p>