Setup update

Signed-off-by: TiagoRG <tiago.rgarcia@ua.pt>
This commit is contained in:
Tiago Garcia 2024-03-05 19:34:51 +00:00 committed by Tiago Garcia
parent 75fd15bcf2
commit b07bab5109
Signed by: TiagoRG
GPG Key ID: FF0A53A30B1ADF82
3 changed files with 9 additions and 3 deletions

View File

@ -1 +1 @@
onedark
vscode

View File

@ -23,3 +23,7 @@ _darcs
# -------------------------
setup.sh
.config/*
!.config/nvim
.local/*
!.local/bin

View File

@ -4,6 +4,9 @@
ORIGIN_DIR=$(pwd)
cd "$HOME" || exit
# Install git
sudo pacman -S git --noconfirm
# Install yay
git clone https://aur.archlinux.org/yay.git /tmp/yay
cd /tmp/yay || exit
@ -12,9 +15,8 @@ sudo pacman -U yay-*.pkg.tar.zst --noconfirm
cd "$OLDPWD" || exit
# Install the required packages
# print in green
echo -e "\e[32m$1\e[0mInstalling the required packages"
sudo yay -S stow vim neovim zsh git clang nodejs npm zoxide pfetch --noconfirm
yay -S stow vim neovim zsh clang nodejs npm zoxide pfetch --noconfirm
# Clone the dotfiles if it's not the current directory
if [ "$(pwd)" != "$HOME/.dotfiles" ]; then