install() {
app=$1
echo "Install App $app? (y/n)"
read answer
if [ $answer -eq 'y' ]; then
sudo pacman -S --noconfirm $app
fi
}
install curl
install wget
install vim
install git
install ttf-fira-code
install base-devel
install doas
install zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
sh -c "$(curl -fsSL https://git.io/zinit-install)"
echo -e "zinit light zdharma-continuum/fast-syntax-highlighting\nzinit light zsh-users/zsh-autosuggestions\nzinit light zsh-users/zsh-completions" >> $HOME/.zshrc
install emacs
install ripgrep
install fd
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.emacs.d
. ~/.emacs.d/bin/doom install
install alacritty