My little script to add my favortite bashrc settings to new bashrc's. Safe your bashrc favortites in your git account. So you can add always add your favortites to any new -bashrc.
create a new file and add some contend for the bashrc file.
touch mycontend.txt
echo "alias up='sudo apt update && sudo apt upgrade'" > mycontend.txt
./add2bashrc.sh mycontend.txtadd all contend from file to the .bashrc
./add2bashrc.sh test.txtshow the .bashrc file
cat $HOME/.bashrcedit the .bashrc file
sudo nano $HOME/.bashrcupdate the .bashrc file
source $HOME/.bashrc
source ~/.bashrcalias up='sudo apt update && sudo apt upgrade'
unalias up
unalias -a [remove all alias]