From a6e7eb2e40b1f7d60d5bcbecf9997c750ea19a1f Mon Sep 17 00:00:00 2001 From: Frankie Robertson Date: Fri, 1 Sep 2023 14:56:52 +0300 Subject: [PATCH] Add hint about adding shortcut to startup file --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 7a465a2..d9e1538 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,15 @@ For more information do `?` or `?conda` from the Pkg REPL. corresponding Conda package then use that. Pip does not handle version conflicts gracefully, so it is possible to get incompatible versions. +**Hint:** To avoid having to manually run `using CondaPkg` before the `conda` +Pkg REPL command becomes available, you can add the following to your [startup +file](https://docs.julialang.org/en/v1/manual/command-line-interface/#Startup-file) +(`~/.julia/config/startup.jl`): + +```julia +Base.identify_package("CondaPkg") === nothing || Base.require(@__MODULE__, :CondaPkg) +``` + ### Functions These functions are intended to be used interactively when the Pkg REPL is not available