Corrected a mistake

I had to correct a mistake with the .zshrc and .bashrc
This commit is contained in:
FotoCoder 2021-04-10 10:39:24 +02:00
parent 7a8cf88830
commit 13ee4cff74

View file

@ -69,11 +69,11 @@ sleep 1
#zshrc
echo $SHELL
if [ $SHELL = "/usr/bin/zsh" ]; then
echo "alias backuppy='sudo $mydir/Backuppy.sh'" >> test1.txt
echo "alias backuppy='sudo $mydir/Backuppy.sh'" >> ~/.zshrc
fi
#bashrc
if [ $SHELL = "/usr/bin/bash" ]; then
echo "alias backuppy='sudo $mydir/Backuppy.sh'" >> test2.txt
echo "alias backuppy='sudo $mydir/Backuppy.sh'" >> ~/.bashrc
fi
# collects all the information needed to execute the rsync command and creates it.