# run automatic installer
curl -fsSL https://pyenv.run | bash

# append relevant bits to ~/.zshrc
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrc
echo 'eval "$(pyenv init - zsh)"' >> ~/.zshrc

# restart shell
exec "$SHELL"

pyenv install # CUSTOM STUFFS
# pico SDK https://github.com/raspberrypi/pico-sdk
export PICO_SDK_PATH='/home/kali/pico-sdk'

# esp-install-custom https://github.com/PrincessPi3/esp-install-custom
alias get_idf='. /home/princesspi/esp/esp-idf/export.sh'
alias run_esp_reinstall='git -C /home/princesspi/esp/esp-install-custom pull;echo -e "\nOld Version:";tail -1 /home/pri>alias esp_monitor='tail -n 75 -f /home/princesspi/esp/install.log'
alias esp_logs='less /home/princesspi/esp/version-data.log;less /home/princesspi/esp/install.log'
export ESPIDF_INSTALLDIR="/home/princesspi/esp"

# pyenv https://github.com/pyenv/pyenv
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init - zsh)"