mirror of
https://github.com/DefectingCat/dotfiles
synced 2025-07-15 08:41:36 +00:00
26 lines
725 B
Bash
26 lines
725 B
Bash
#!/bin/bash
|
|
|
|
cd /home/"$USER"/ || exit
|
|
|
|
# ohmyzsh
|
|
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
|
chmod +x /home/"$USER"/dotfiles/zsh/install-plugins.sh
|
|
/home/"$USER"/dotfiles/zsh/install-plugins.sh
|
|
|
|
# neovim
|
|
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
|
|
echo "install neovim done"
|
|
# nvm
|
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
|
|
export NVM_DIR="/home/$USER/.nvm"
|
|
\. "$NVM_DIR/nvm.sh"
|
|
nvm install --lts
|
|
echo "install nvm done"
|
|
# rustc
|
|
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
|
echo "install rustup done"
|
|
|
|
chmod +x /home/"$USER"/dotfiles/scripts/update.sh
|
|
cd /home/"$USER"/dotfiles/ || exit
|
|
echo "install all done"
|