forked from FotoCoder/Backuppy
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
|
#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.
|
||||||
|
|
Loading…
Reference in a new issue