feat: allow conda environment names to be detected from environment.yml (#909)
feat: allow conda environment names to be detected from environment.yml (#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.
direnv/direnv,direnv/direnv