Corrected a mistake
I had to correct a mistake with the .zshrc and .bashrc
This commit is contained in:
parent
7a8cf88830
commit
13ee4cff74
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue