Skip to content

[Future] Change terminal start folder to work

When students starts a terminal they default to /home/jvyan which is not backuped.,

Change the start folder to work

Simple stupid fix : RUN echo "cd ${HOME}/work" >> ${HOME}/.bashrc --- will chnage folder every time you do a bash in the terminal.

change in jupyterhub something like this : c.NotebookApp.terminado_settings = { "shell_command": ["/usr/bin/fish"] }

c.NotebookApp.terminado_settings = { "shell_command": ["/usr/bin/sh", "-c", "cd ~/work && exec /usr/bin/bash" ] }

Edited by Jonas Karlsson