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 #zshrc
echo $SHELL echo $SHELL
if [ $SHELL = "/usr/bin/zsh" ]; then if [ $SHELL = "/usr/bin/zsh" ]; then
echo "alias backuppy='sudo $mydir/Backuppy.sh'" >> test1.txt echo "alias backuppy='sudo $mydir/Backuppy.sh'" >> ~/.zshrc
fi fi
#bashrc #bashrc
if [ $SHELL = "/usr/bin/bash" ]; then if [ $SHELL = "/usr/bin/bash" ]; then
echo "alias backuppy='sudo $mydir/Backuppy.sh'" >> test2.txt echo "alias backuppy='sudo $mydir/Backuppy.sh'" >> ~/.bashrc
fi fi
# collects all the information needed to execute the rsync command and creates it. # collects all the information needed to execute the rsync command and creates it.