configs/bashset.sh
2023-04-02 21:48:02 -05:00

17 lines
405 B
Bash

#!/bin/bash
mv ~/.bashrc ~/.bashrc.bak
ln -s .bashrc ~/.bashrc
ln -s .bash_aliases ~/.bash_aliases
touch ~/.bashlocal
echo "Would you like to intall the contents of the package list in the arch foler? (yes/no)"
read answer
if [ "$answer" == "yes" ] || [ "$answer" == "y" ]; then
echo "Fuck yeah"
sudo pacman -S --needed $(\cat arch/pkglist.txt)
else
echo "Exiting the script."
exit 0
fi