This commit is contained in:
Tyrel Souza 2023-11-16 00:18:20 -05:00
parent 345d414f91
commit 4fbc98324d
No known key found for this signature in database
GPG Key ID: F3614B02ACBE438E
1 changed files with 18 additions and 6 deletions

View File

@ -1,13 +1,25 @@
#!/bin/bash
HOME=/home/coder
sudo apt update
sudo apt install python3 python3-venv zsh
sudo curl https://pyenv.run | bash
ln -s home/config $HOME/.config
ln -s home/bin $HOME/bin
ln -s home/gitconfig $HOME/.gitconfig
ln -s home/shell_aliases $HOME/.shell_aliases
ln -s home/shell_funcs $HOME/.shell_funcs
ln -s ./home/config $HOME/.config
ln -s ./home/bin $HOME/bin
ln -s ./home/gitconfig $HOME/.gitconfig
ln -s ./home/shell_aliases $HOME/.shell_aliases
ln -s ./home/shell_funcs $HOME/.shell_funcs
#ln -s home/zshrc $HOME/.zshrc
#
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> /home/coder/.bashrc
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> /home/coder/.bashrc
echo 'eval "$(pyenv init -)"' >> /home/coder/.bashrc
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
pyenv install 3.10
pyenv global 3.10