From b78c4ae386ecff2b95136703e6eb27eef7066872 Mon Sep 17 00:00:00 2001 From: osbm Date: Sat, 29 Apr 2023 11:20:31 +0300 Subject: [PATCH] conda stuff ? --- src/.zshrc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/.zshrc b/src/.zshrc index bb4ea93..6676c1c 100644 --- a/src/.zshrc +++ b/src/.zshrc @@ -55,3 +55,19 @@ sound() { paplay $s done } + +# >>> conda initialize >>> +# !! Contents within this block are managed by 'conda init' !! +__conda_setup="$('/home/osman/.pyenv/versions/miniconda3-4.7.12/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" +if [ $? -eq 0 ]; then + eval "$__conda_setup" +else + if [ -f "/home/osman/.pyenv/versions/miniconda3-4.7.12/etc/profile.d/conda.sh" ]; then + . "/home/osman/.pyenv/versions/miniconda3-4.7.12/etc/profile.d/conda.sh" + else + export PATH="/home/osman/.pyenv/versions/miniconda3-4.7.12/bin:$PATH" + fi +fi +unset __conda_setup +# <<< conda initialize <<< +