Add asdf as version manager (#2)

* feat(asdf): add new version manager asdf

* feat(asdf): replace nvm with asdf

* feat(asdf): replace rbenv with asdf

* chore: add aliases for git

* feat(asdf): replace pyenv with asdf

* feat(asdf): add asdf as version manager for rust

* chore: shorten comments

* feat(asdf): add asdf as deno version manager

* feat(asdf): add direnv plugin and setup shell

* chore(asdf): move configuration in folder
This commit is contained in:
Stefan Imhoff
2022-10-27 19:53:56 +02:00
parent b956d4c41a
commit e68374d776
19 changed files with 111 additions and 152 deletions

View File

@@ -1,21 +1,10 @@
#!/bin/sh
# Install Pyenv
curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
# Activate Pyenv
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv virtualenv-init -)"
pyenv install 3.10.1
asdf plugin add python
asdf install python latest
asdf global python latest
pip install -r ~/.dotfiles/python/pip-requirements.txt
jupyter nbextension install --py --sys-prefix jupyter_ascending
jupyter nbextension enable jupyter_ascending --sys-prefix --py
jupyter serverextension enable jupyter_ascending --sys-prefix --py
conda install -n base ipykernel --update-deps --force-reinstall
conda install --file ~/.dotfiles/python/conda-requirements.txt