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
parent 5e340d1451
commit 77556eb5ce
Signed by: TiagoRG
GPG Key ID: DFCD48E3F420DB42
3 changed files with 9 additions and 3 deletions

View File

@ -1 +1 @@
onedark vscode

View File

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

View File

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