An open API service indexing awesome lists of open source software.

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

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.

![screenshot](./ss.png)