Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow conda environment names to be detected from environment.y…
…ml (#909) Currently an error is encountered if an environment name is not specified to `layout anaconda`. This change attempts to detect the environment name from the environment.yml file by grepping for the `name` property and processing the result. The result is that .envrc files can now simply contain `layout anaconda` as long as the local environment.yml file specifies a `name`. No new dependencies are introduced as `grep` is already used and additional processing is performed using Bash parameter expansion.
- Loading branch information