51 lines
993 B
Bash
Executable File
51 lines
993 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd ~
|
|
# Update system
|
|
sudo pacman -Syu
|
|
|
|
# Install base utils
|
|
sudo pacman -S --needed git which base-devel
|
|
|
|
# Install yay
|
|
git clone https://aur.archlinux.org/yay.git
|
|
cd yay
|
|
makepkg -si
|
|
cd ~
|
|
rm -rf yay
|
|
|
|
# Install zen-browser
|
|
yay -S zen-browser-bin
|
|
|
|
# Install font
|
|
sudo pacman -S ttf-jetbrains-mono-nerd
|
|
|
|
# Install clipboard
|
|
sudo pacman -S cliphist wl-clipboard
|
|
|
|
# Install nvim
|
|
sudo pacman -S nvim
|
|
|
|
# Install ble.sh
|
|
git clone --recursive --depth 1 --shallow-submodules https://github.com/akinomyoga/ble.sh.git
|
|
make -C ble.sh install PREFIX=~/.local
|
|
echo 'source -- ~/.local/share/blesh/ble.sh' >>~/.bashrc
|
|
cd ~
|
|
rm -rf ble.sh
|
|
|
|
# Install starship
|
|
sudo pacman -S starship
|
|
grep -qxF 'eval "$(starship init bash)"' ~/.bashrc || echo 'eval "$(starship init bash)"' >>~/.bashrc
|
|
source ~/.bashrc
|
|
stty sane
|
|
|
|
# Install lazygit
|
|
sudo pacman -S lazygit
|
|
|
|
# Setup git
|
|
git config --global user.email "hector@h3cx.dev"
|
|
git config --global user.name "Hector van der Aa"
|
|
|
|
# Generate ssh-keys
|
|
ssh-keygen
|