#!/bin/bash
mkdir -p $HOME/.local/bin && curl -sS https://starship.rs/install.sh | sudo -E sh -s -- --yes --bin-dir $HOME/.local/bin
curl -L https://github.com/Gobidev/pfetch-rs/releases/latest/download/pfetch-linux-gnu-x86_64.tar.gz | sudo tar -xvz -C /usr/local/bin/
if $(which dnf 2>&1 > /dev/null); then
sudo dnf install -y fontawesome-fonts fontawesome5-free-fonts
fi
cp home/zshrc ~/.zshrc
mkdir -p ~/.config/zsh
cp home/config/starship.toml ~/.config/
cp home/config/zsh/* ~/.config/zsh/