chore: Add pyenv configuration to zshrc and update dependencies in config.yaml

This commit is contained in:
2024-08-25 03:59:41 +02:00
parent 5db877355c
commit 101f0a80fa
3 changed files with 21 additions and 1 deletions

View File

@ -110,6 +110,13 @@ aptpkgs() {
}
pipxpkgs() {
printfe "%s\n" "cyan" "Ensuring pyenv is installed..."
if [ ! -d "$HOME/.pyenv" ]; then
curl https://pyenv.run | bash
else
printfe "%s\n" "green" " - pyenv is already installed"
fi
printfe "%s\n" "cyan" "Ensuring pipx packages are installed..."
source $HOME/dotfiles/bin/helpers/pipx_packages.sh
ensure_pipx_packages_installed