From 44673a79b8ef255bfdcd402d3d367132721fc3ff Mon Sep 17 00:00:00 2001 From: Alexandre Tuleu Date: Wed, 19 Jan 2022 11:20:58 +0100 Subject: [PATCH] Lazily initializes conda --- .config/fish/config.fish | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index f376d50..a141436 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -43,10 +43,12 @@ end export MINICOM="-c on" -# >>> conda initialize >>> -# !! Contents within this block are managed by 'conda init' !! -eval /home/atuleu/miniconda3/bin/conda "shell.fish" "hook" $argv | source -# <<< conda initialize <<< +if test -x $HOME/miniconda3/bin/conda + # >>> conda initialize >>> + # !! Contents within this block are managed by 'conda init' !! + eval $HOME/miniconda3/bin/conda "shell.fish" "hook" $argv | source + # <<< conda initialize <<< +end ################################################################################ # direnv