diff --git a/cfg/fsa-spirou/conda.bashrc b/cfg/fsa-spirou/conda.bashrc new file mode 100644 index 0000000000000000000000000000000000000000..903196cd0accfea1f13bda6efedeb09156f3d660 --- /dev/null +++ b/cfg/fsa-spirou/conda.bashrc @@ -0,0 +1,19 @@ +# 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 <<< +}