Skip to content

zoof/direnv-automamba

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

direnv-automamba

Use direnv to automatically activate a mamba environment. Assumes that micromamba executable is in the $PATH. The contents of .direnvrc goes in either ~/.direnvrc or ~/direnv/direnvrc.

Tested with bash and fish shells.

Requires .envrc file in the directory where mamba is to be activated and should contain:

layout mamba [environment-name]
  • If environment-name is supplied then environment-name is activated.
  • If environment-name is not supplied and environment.yml exists and contains name: then the environment specified is activated.
  • If environment-name is not supplied and environment.yml does not exist or exists but does not contain name: then the base environment is activated.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published