dotfiles/arch_setup.sh

28 lines
778 B
Bash
Raw Normal View History

2024-05-14 20:44:36 +00:00
2023-11-16 05:07:39 +00:00
#!/bin/bash
2024-04-11 02:56:00 +00:00
USER=tyrel
HOME=/home/tyrel
2023-11-16 05:18:20 +00:00
2023-11-16 16:19:27 +00:00
curl https://sh.rustup.rs -sSf | sh
2023-11-16 05:10:42 +00:00
sudo curl https://pyenv.run | bash
2023-11-16 05:07:39 +00:00
2024-04-11 02:56:00 +00:00
ln -s $(pwd)/home/config/nvim /home/$USER/.config/nvim
ln -s $(pwd)/home/gitconfig /home/$USER/.gitconfig
ln -s $(pwd)/home/shell_aliases /home/$USER/.shell_aliases
ln -s $(pwd)/home/shell_funcs /home/$USER/.shell_funcs
2024-05-14 20:44:36 +00:00
ln -s $(pwd)/home/zshrc /home/$USER/.zshrc
2024-04-11 02:56:00 +00:00
echo 'export PYENV_ROOT="/home/$USER/.pyenv"' >> /home/$USER/.bashrc
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> /home/$USER/.bashrc
echo 'eval "$(pyenv init -)"' >> /home/$USER/.bashrc
2023-11-17 18:16:16 +00:00
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
2023-11-16 16:19:27 +00:00
2024-05-14 20:44:36 +00:00
pyenv install 3.12.3
pyenv global 3.12.3
2024-01-30 19:49:02 +00:00
pip install neovim