Files
dotfiles/install.sh
2024-03-25 13:32:52 +00:00

21 lines
412 B
Bash
Executable File

#! /bin/bash
source scripts/p.sh
source scripts/color.sh
# ============== CONFIG ==============
d=$(detectDistro)
if [[ $d == "Debian" ]]; then
sudo apt install -y curl
elif [[ $d == "Arch" ]]; then
sudo pacman -Sy curl
fi
echo -e "${GREEN}[+] Installing stow...${ENDCOLOR}"
p i stow
# Link dotfile home to $HOME
echo -e "${GREEN}[+] Symlinking dotfiles...${ENDCOLOR}"
stow -v -t $HOME home --adopt