title: How to login to bash with current user, and the user's .bashrc file, in jupyterlab?
body: <p>I have a configuration file setup in .bashrc which I would like to apply to all terminals opened automatically in my jupyterlab. </p>
  
  <p>Currently jupyterlab terminals start like this, without any of the configuration in my .bashrc file.</p>
  
  <p><a href="https://i.stack.imgur.com/pyNxt.png" rel="noreferrer"><img src="https://i.stack.imgur.com/pyNxt.png" alt="jupyterlab terminal"></a></p>
  
  <p>If I simply type bash and hit enter it does exactly what I want. Like below.</p>
  
  <p><a href="https://i.stack.imgur.com/tZETo.png" rel="noreferrer"><img src="https://i.stack.imgur.com/tZETo.png" alt="terminal after typing bash"></a></p>
  
  <p>I would like for it to automatically open like this.</p>
  
  <p>How can this be achieved?</p>
  
  <p><a href="https://stackoverflow.com/questions/33467098/how-can-the-terminal-in-jupyter-automatically-run-bash-instead-of-sh">Here is a very similar question.</a></p>
  
  <p>But none of the solutions work, I mean it does open bash, not shell, so I'm not sure if that solution is what I'm looking for. But I've changed my tornado settings, I've added the environment variable SHELL=/bin/bash but none of it has any affect. (I've obviously restarted jupyterhub each time to see the effect.</p>
  
  <p>Here is my jupyterhub start file 'jupyterhub.service', located in '/etc/systemd/'.</p>
  
  <pre><code>[Unit]
  Description=Jupyterhub
  After=syslog.target network.target
  [Service]
  User=root
  Type=simple
  Environment="PATH=/anaconda3/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
  Environment="SPARK_HOME=/spark-2.3.2-bin-hadoop2.7/"
  Environment="SHELL=/bin/bash"
  ExecStart=/anaconda3/bin/jupyterhub -f /etc/jupyter/jupyterhub_config.py
  Restart=on-failure
  RestartSec=5
  [Install]
  WantedBy=multi-user.target
  </code></pre>