Dropping pyenv in favor of python section
Opened this issue ยท 5 comments
Looks like we've got a bit of updating to do for the pyenv section.
This would also be a great opportunity to add testing where we don't have any at the moment. ๐
๐ spacefish-bot โ Pull request copied from: spaceship-prompt/spaceship-prompt#431.
Description
Dropping pyenv
section in favor of python
section, python
section has three display modes.
Variable | Value | Meaning |
---|---|---|
SPACESHIP_PYTHON_SHOW |
always | Always display python version information if relevant files exist in directory |
SPACESHIP_PYTHON_SHOW |
true (default) | Display python version only inside virtual environment if relevant files exist |
SPACESHIP_PYTHON_SHOW |
false | Don't display python version in prompt |
Screenshot
Tasks
- Update docs
- Backward compatibility
Related spaceship-prompt/spaceship-prompt#394
Close spaceship-prompt/spaceship-prompt#410
Note it was merged to 4.0 branch and not to master.
Good call. I'll have this planned for 2.0, which will be parallel to spaceship's 4.0 ๐
Hello! Does this mean that the theme will support other python version managers, like ASDF, virtualenvwrapper, etc, in the near future?
Thank you for the awesome work you've done porting this theme to fish.
As soon as such features are added to spaceship, we aim to add support for equivalent features in spacefish. ๐
Fair enough.