direnv pyenv keep python up to date

This commit is contained in:
CroneKorkN 2025-07-24 10:11:20 +02:00
parent fc00da4288
commit a3fed869bf
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw

View file

@ -2,6 +2,8 @@
cd "$OLDPWD"
pyenv install --skip-existing
if test -f .venv/bin/python && test "$(realpath .venv/bin/python)" != "$(realpath "$(pyenv which python)")"
then
echo "rebuilding venv für new python version"