From 5f271626601a01ddc7eebf40e1f399b1256cf31b Mon Sep 17 00:00:00 2001 From: Johannes Randerath Date: Mon, 13 May 2024 21:25:31 +0200 Subject: [PATCH] backup-130524 --- bashrc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/bashrc b/bashrc index 2d34faa..fb8f6d3 100644 --- a/bashrc +++ b/bashrc @@ -32,3 +32,19 @@ if [ -d ~/.bashrc.d/l1/ ]; then fi unset rc + +# >>> conda initialize >>> +# !! Contents within this block are managed by 'conda init' !! +__conda_setup="$('/usr/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" +if [ $? -eq 0 ]; then + eval "$__conda_setup" +else + if [ -f "/usr/etc/profile.d/conda.sh" ]; then + . "/usr/etc/profile.d/conda.sh" + else + export PATH="/usr/bin:$PATH" + fi +fi +unset __conda_setup +# <<< conda initialize <<< +