jupyterhub/repo2docker

Change default shell prompt

Open

#596 opened on Feb 27, 2019

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Python (1,544 stars) (358 forks)batch import
enhancementhelp wanted

Description

I use binder a lot for teaching short workshops (thanks nice people!) and when we use the shell via RStudio or Jupyter terminals, the default prompt is super long and ugly and takes up the whole screen:

jovyan@jupyter-ctb-2d2019-2dsnakemake-2ducdavis-2dv7l31369

so often the first thing I have people do in my workshops is reset the prompt with PS1='$ '. While this is straightforward enough, it finally occurred to me that hey, there's no reason this kind of thing couldn't be done in repo2docker (or somewhere else)! Hence this issue.

I'm not 100% sure what the prompt should be, but something shorter would be great. Heck, you could even turn it into a binder advertisement of sorts -- maybe make it jovyan@binder: or something!

Contributor guide