# pyenv-fallback
> Give pyenv a set of always-available environments to look up commands from.

## Install

Installing **pyenv-fallback** as a pyenv plugin will give you access to the provided behavior.

```sh
$ pijul clone https://nest.pijul.com/mwchase/pyenv-fallback "$(pyenv root)/plugins/pyenv-fallback"
```

Under fish

```sh                                                                                                                                            
$ pijul clone https://nest.pijul.com/mwchase/pyenv-fallback (pyenv root)/plugins/pyenv-fallback
```

## Usage

### Setting fallback environments

To specify one or more environments to use, run `pyenv fallback`, specifying one or more installed environments.
For example,

```sh
$ pyenv fallback 3.9.1 3.6.5
```

will designate 3.9.1 as the first fallback environment to check, followed by 3.6.5.

### Clearing fallback environments

To remove all fallback environments, call `pyenv fallback --unset`

### Reading fallbavk environments

To see the current list of fallback environments, call `pyenv fallback`

## License
Unless otherwise noted, all files contained within this project are liensed under the MIT opensource license. See the included file LICENSE or visit [opensource.org][] for more information.

[opensource.org]: http://opensource.org/licenses/MIT