From 007b6d2a33bd95868c0f4fc5e396d169057f0ec4 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Sun, 21 Dec 2014 16:18:49 +0200 Subject: [PATCH] bashrc & zshrc: fix shell-things function set git upstream **after** we have moved into the repository. --- bashrc | 2 +- zshrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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..."