Skip to content
Snippets Groups Projects
Commit 05d53602 authored by Boman Romain's avatar Boman Romain
Browse files

add conda as a function

parent 2a183d64
No related branches found
No related tags found
No related merge requests found
# je copie ici les lignes de conda.sh qui sont dans le .bashrc
function use_conda() {
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/boman/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/boman/miniconda3/etc/profile.d/conda.sh" ]; then
. "/home/boman/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/home/boman/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment