https://github.com/sitegui/conda-utils
Some CLI utils to make the life of using conda easier
https://github.com/sitegui/conda-utils
Last synced: over 1 year ago
JSON representation
Some CLI utils to make the life of using conda easier
- Host: GitHub
- URL: https://github.com/sitegui/conda-utils
- Owner: sitegui
- License: mit
- Created: 2019-09-15T16:11:28.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-23T11:14:22.000Z (over 6 years ago)
- Last Synced: 2025-02-05T15:54:00.950Z (over 1 year ago)
- Language: Shell
- Size: 50.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Conda utils
Some CLI utils to make the life of using conda easier
For the moment, only one is available, but others may appear in the future :)
## Install
1. Clone this repo
2. Add the following lines to your `~/.bashrc` (or equivalent):
```sh
. /conda-utils.sh
PROMPT_COMMAND="activate_current_conda -q; $PROMPT_COMMAND"
```
Remember to replace `` with the path to this repo
## Features
* `activate_current_conda`: Activate the correct environment automatically: add a prompt hook that will look for the `environment.yml` file to use and `conda activate` to it. If the target environment is not installed, will nicely prompt to do so (and remember your choice not to if that's the case). You can also run it manually instead.
