configs/bashset.sh

17 lines
405 B
Bash
Raw Normal View History

2023-04-03 02:35:17 +00:00
#!/bin/bash
mv ~/.bashrc ~/.bashrc.bak
ln -s .bashrc ~/.bashrc
ln -s .bash_aliases ~/.bash_aliases
touch ~/.bashlocal
2023-04-03 02:48:02 +00:00
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