diff options
Diffstat (limited to 'direnv')
-rw-r--r-- | direnv/direnvrc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/direnv/direnvrc b/direnv/direnvrc new file mode 100644 index 0000000..f3dad9e --- /dev/null +++ b/direnv/direnvrc @@ -0,0 +1,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 +} |