title: How do you automatically run commands for interactive shells?
body: <p>I am looking for the <a href="http://www.catb.org/jargon/html/R/rc-file.html" rel="nofollow noreferrer">rc file</a>. I want to execute</p>
  
  <pre><code>chcp 65001 &gt; nul
  cd %TEMP%
  </code></pre>
  
  <p>each time a new interactive shell is started. System info:</p>
  
  <pre><code>Clink v0.4.8 [git:d565ad] Copyright (c) 2012-2016 Martin Ridgers
  http://mridgers.github.io/clink
  
  Microsoft Windows [Version 10.0.16299.125]
  
  myuser@MYHOST C:\Users\myuser
  $ choco info conemu | rg -i ^^conemu
  ConEmu 18.4.29.0 [Approved] Downloads cached for licensed users
  
  myuser@MYHOST C:\Users\myuser
  $ █
  </code></pre>