summaryrefslogtreecommitdiff
path: root/direnv/direnvrc
blob: f3dad9e455bea121574506460f87e24dec290cd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
  conda activate $1
  echo "entering into conda environment" $1
  conda env list
}