Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hint about adding shortcut to startup file #105

Merged
merged 1 commit into from
Sep 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add hint about adding shortcut to startup file
  • Loading branch information
frankier committed Sep 1, 2023
commit a6e7eb2e40b1f7d60d5bcbecf9997c750ea19a1f
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down