Load Jupyter Notebook In Non-Default Browser

By default Jupyter Notebooks loads in your default browser. The following bash script opens Jupyter Notebook in a specific browser (in this example, Chrome).

Note: I have commented out all the commands so it doesn't run while in Jupyter

# %%bash

# Set the bash hashbang
# #!/bin/bash

# Open IPython Notebook using Chrome
# BROWSER=/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome jupyter notebook