miniconda.rb: add manual initialization method

Needed for nix/home-manager users where conda init fails to modify the
shell init scripts.
This commit is contained in:
crasm 2023-08-13 03:52:59 -04:00
parent 9910575c42
commit fb5084a8f1
1 changed files with 3 additions and 0 deletions

View File

@ -40,5 +40,8 @@ cask "miniconda" do
caveats <<~EOS
Please run the following to setup your shell:
conda init "$(basename "${SHELL}")"
Alternatively, manually add the following to your shell init:
eval "$(conda "shell.$(basename "${SHELL}")" hook)"
EOS
end