diff --git a/bashrc b/bashrc index 8cc2c8e0..1304ef34 100644 --- a/bashrc +++ b/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..." diff --git a/zshrc b/zshrc index 3c6bfda1..8e3fff56 100644 --- a/zshrc +++ b/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..."