fix: Use pyenv instead of local/bin/python hack

This commit is contained in:
2024-03-01 12:43:53 +02:00
parent a20e1e1419
commit aba33a20a4
2 changed files with 6 additions and 6 deletions

View File

@@ -85,6 +85,12 @@ x-have rbenv && {
eval "$(rbenv init - zsh)"
}
x-have pyenv && {
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
}
# Run only if tmux is active
[[ -n "$TMUX" ]] && {
# Autoupdate tmux window name

View File

@@ -1,6 +0,0 @@
#!/bin/sh
# work around https://github.com/Microsoft/vscode/issues/3941
# and anyone else who expects to see a 'python' executable
exec python3 "$@"