From 7edbeb242a58a330649760691a011d5dd709206a Mon Sep 17 00:00:00 2001 From: Michael Allen Date: Wed, 19 Aug 2015 16:31:09 +0100 Subject: Make sure fetch is location independant --- fetch.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fetch.sh b/fetch.sh index c226e3b..c06bbad 100755 --- a/fetch.sh +++ b/fetch.sh @@ -1,3 +1,6 @@ -source $DOTFILES/zsh/git-prompt/radar-base.sh +#! /usr/bin/env bash + +dot="$(cd "$(dirname "$0")"; pwd)" +source $dot/radar-base.sh fetch; -- cgit v1.2.3