hyprland-dotfiles/.install/bashrc.sh
Stephan Raabe ea2a6adbf0 Dev
2023-11-10 21:12:15 +00:00

20 lines
609 B
Bash

# ------------------------------------------------------
# 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 ""