chore: Add pyenv configuration to zshrc and update dependencies in config.yaml
This commit is contained in:
parent
5db877355c
commit
101f0a80fa
5
.zshrc
5
.zshrc
@ -98,6 +98,11 @@ elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock
|
||||
fi
|
||||
|
||||
# pyenv
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init -)"
|
||||
|
||||
#####################
|
||||
# End of the line...#
|
||||
#####################
|
||||
|
@ -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
|
||||
|
@ -147,4 +147,12 @@ config:
|
||||
- 1password-cli
|
||||
- spotify-client
|
||||
- flameshot
|
||||
- cmake
|
||||
- cmake
|
||||
- libsqlite3-dev
|
||||
- libudev-dev
|
||||
- libncursesw5-dev
|
||||
- libgdbm-dev
|
||||
- libc6-dev
|
||||
- libbz2-dev
|
||||
- libffi-dev
|
||||
- tk-dev
|
Loading…
x
Reference in New Issue
Block a user