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