[f8624c]: / .cookiecutter / scripts / conda_activate.sh

Download this file

10 lines (7 with data), 206 Bytes

1
2
3
4
5
6
7
8
9
#!/bin/bash
conda_activate() {
# Avoid unbound variable error
export PS1=${PS1:-}
# shellcheck disable=SC1091
source "$(conda info --base)/etc/profile.d/conda.sh" && conda activate "$1"
}