mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +01:00
bashrc & zshrc: fix shell-things function
set git upstream **after** we have moved into the repository.
This commit is contained in:
parent
ae47a222e6
commit
007b6d2a33
2
bashrc
2
bashrc
@ -692,10 +692,10 @@ export SHELL_THINGS_REPO=$HOME/.shell-things
|
||||
|
||||
# Check if ~/.shell-things exists and cd and pull.
|
||||
if [ -d $SHELL_THINGS_REPO ]; then
|
||||
git remote set-url origin https://github.com/Mikaela/shell-things.git
|
||||
echo "shell-things: $SHELL_THINGS_REPO exists, git pulling..."
|
||||
echo ""
|
||||
cd $SHELL_THINGS_REPO
|
||||
git remote set-url origin https://github.com/Mikaela/shell-things.git
|
||||
git pull
|
||||
echo ""
|
||||
echo "shell-things: Installing/Upgrading..."
|
||||
|
2
zshrc
2
zshrc
@ -665,10 +665,10 @@ export SHELL_THINGS_REPO=$HOME/.shell-things
|
||||
|
||||
# Check if ~/.shell-things exists and cd and pull.
|
||||
if [ -d $SHELL_THINGS_REPO ]; then
|
||||
git remote set-url origin https://github.com/Mikaela/shell-things.git
|
||||
echo "shell-things: $SHELL_THINGS_REPO exists, git pulling..."
|
||||
echo ""
|
||||
cd $SHELL_THINGS_REPO
|
||||
git remote set-url origin https://github.com/Mikaela/shell-things.git
|
||||
git pull
|
||||
echo ""
|
||||
echo "shell-things: Installing/Upgrading..."
|
||||
|
Loading…
Reference in New Issue
Block a user