Setup update
Signed-off-by: TiagoRG <tiago.rgarcia@ua.pt>
This commit is contained in:
parent
75fd15bcf2
commit
b07bab5109
|
@ -1 +1 @@
|
|||
onedark
|
||||
vscode
|
|
@ -23,3 +23,7 @@ _darcs
|
|||
# -------------------------
|
||||
|
||||
setup.sh
|
||||
.config/*
|
||||
!.config/nvim
|
||||
.local/*
|
||||
!.local/bin
|
||||
|
|
6
setup.sh
6
setup.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue