summaryrefslogtreecommitdiff
path: root/direnv/direnvrc
blob: 6dce9adce251ccf738720f8e7860b3f806c2af2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
load_conda() {
  source "$1/etc/profile.d/conda.sh"
}

## The list of available conda installs

load_database_conda() {
  load_conda /home/blaise/miniconda3
}

## The list of environments

activate_conda() {
  load_database_conda
  load_conda
  conda activate $1
}