Hyprland-dotfiles/.install/bashrc.sh

20 lines
609 B
Bash
Raw Normal View History

2023-11-10 16:12:15 -05:00
# ------------------------------------------------------
# Install .bashrc
# ------------------------------------------------------
echo "-> Install .bashrc"
echo "PLEASE BACKUP YOUR .bashrc file in case you want to keep your local configuration and aliases."
while true; do
read -p "Do you want to install the .bashrc file? (Yy/Nn): " yn
case $yn in
[Yy]* )
_installSymLink .bashrc ~/.bashrc ~/dotfiles/.bashrc ~/.bashrc
break;;
[Nn]* )
echo "Installation skipped."
break;;
* ) echo "Please answer yes or no.";;
esac
done
echo ""