33 lines
1.0 KiB
Bash
Executable File
33 lines
1.0 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
cd || exit 1
|
|
# basics tools
|
|
sudo pacman -Syuu htop base-devel neofetch git zsh fd ripgrep unzip nodejs npm --noconfirm
|
|
mkdir github && cd github || exit 1
|
|
git clone https://github.com/vincenzopalazzo/dotfiles.git
|
|
curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh | sh -s -- -y
|
|
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
|
|
|
cd /tmp || exit 1
|
|
git clone https://aur.archlinux.org/paru.git && cd paru || exit 1
|
|
makepkg -si
|
|
cd || exit 1
|
|
|
|
# kernel tools
|
|
paru -Syu modprobed-db
|
|
|
|
# install application
|
|
paru -Syu emacs neovim
|
|
|
|
## install doom emacs
|
|
curl -sSf https://raw.githubusercontent.com/doom-neovim/doom-nvim/main/tools/install.sh
|
|
|
|
## install doom nvim
|
|
curl -s https://raw.githubusercontent.com/doom-neovim/doom-nvim/main/tools/install.sh | sh
|
|
|
|
# configure with dots
|
|
cp ~/github/dotfiles/nvim-doom/* "$HOME"/.config/nvim/
|
|
cp ~/github/dotfiles/zsh/.zshrc "$HOME"/
|
|
cat "$HOME"/config/nvim/module.lua
|
|
|