From 79924dc542036dc98b112800fb0bcf96a4db7ae2 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Fri, 19 Dec 2014 20:08:11 +0200 Subject: [PATCH] bashrc & zshrc: point to new repository If ~/.shell-things exists, the `shell-things` function will change upstream to Mikaela/shell-things. --- bashrc | 1 + zshrc | 1 + 2 files changed, 2 insertions(+) diff --git a/bashrc b/bashrc index 64a86c71..63885cef 100644 --- a/bashrc +++ b/bashrc @@ -692,6 +692,7 @@ 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 diff --git a/zshrc b/zshrc index c7c44a5c..81c49867 100644 --- a/zshrc +++ b/zshrc @@ -665,6 +665,7 @@ 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