theme-scorphish
theme-scorphish copied to clipboard
Scorphish displays wrong Python version when using pyenv
When using pyenv with a local Python version configured (using a .python-version
file), Scorphish will display the wrong Python version, because it uses a cashed value, and no virtual environment is active. A simple way to fix it is to simply compute the Python version every time, without caching, but I'm not sure if the performance hit is generally acceptable (it works for me).
Thanks for reporting. There may be a flag to turn caching of. But I personally prefer a fast prompt – hence the caching. So I'll think of all possible ways do invalidate the cache in this situation.