mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 20:59:23 +01:00
shellrc: add fetching everything to update function
This commit is contained in:
parent
503a38f44a
commit
8ea8012153
@ -613,6 +613,7 @@ if [ -d $SHELL_THINGS_REPO ]; then
|
|||||||
echo ""
|
echo ""
|
||||||
cd $SHELL_THINGS_REPO
|
cd $SHELL_THINGS_REPO
|
||||||
git remote set-url origin https://gitea.blesmrt.net/Mikaela/shell-things.git
|
git remote set-url origin https://gitea.blesmrt.net/Mikaela/shell-things.git
|
||||||
|
git fetch --all
|
||||||
git pull
|
git pull
|
||||||
sleep 10
|
sleep 10
|
||||||
echo ""
|
echo ""
|
||||||
|
1
rc/zshrc
1
rc/zshrc
@ -590,6 +590,7 @@ if [ -d $SHELL_THINGS_REPO ]; then
|
|||||||
echo ""
|
echo ""
|
||||||
cd $SHELL_THINGS_REPO
|
cd $SHELL_THINGS_REPO
|
||||||
git remote set-url origin https://gitea.blesmrt.net/Mikaela/shell-things.git
|
git remote set-url origin https://gitea.blesmrt.net/Mikaela/shell-things.git
|
||||||
|
git fetch --all
|
||||||
git pull
|
git pull
|
||||||
sleep 10
|
sleep 10
|
||||||
echo ""
|
echo ""
|
||||||
|
Loading…
Reference in New Issue
Block a user