update dotfiles and add setup script

This commit is contained in:
Joel Wetzell
2023-05-24 09:01:21 -05:00
parent 3422218020
commit 9686a9d769
3 changed files with 26 additions and 58 deletions
Executable
+19
View File
@@ -0,0 +1,19 @@
echo "installing nvm"
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
echo "installing sdkman"
curl -s "https://get.sdkman.io" | bash
echo "linking .zshrc"
if [ -f ~/.zshrc ]; then
echo ".zshrc exists removing"
rm ~/.zshrc
fi
ln -s ~/dotfiles/.zshrc ~/.zshrc
echo "linking .vimrc"
if [ -f ~/.vimrc ]; then
echo ".vimrc exists removing"
rm ~/.vimrc
fi
ln -s ~/dotfiles/.vimrc ~/.vimrc