I want a command that I can add to my ~/.bashrc
which does the following in this order:
- cd to a directory
- activate a conda environment
- open a jupyter notebook.
The command that I have currently looks like this:
alias foo='
cd ~/Documents/bar
conda activate foobar
jupyter notebook
'
But execution stops after the conda activate foobar
command.
Is there a way that I can ensure that all 3 commands are performed, and that it does not stop when I go into a new environment?