summaryrefslogtreecommitdiffstats
path: root/fetch.sh
diff options
context:
space:
mode:
authorMichael Allen <michael@michaelallen.io>2015-08-19 16:31:09 +0100
committerMichael Allen <michael@michaelallen.io>2015-08-19 16:31:09 +0100
commit7edbeb242a58a330649760691a011d5dd709206a (patch)
tree368a8ae0763eef2a53a62aa994bbf8f6ea75e49d /fetch.sh
parent685a5471d2dc7209e16df5654ba8b05f401526ab (diff)
downloadgit-sonar-7edbeb242a58a330649760691a011d5dd709206a.tar.gz
git-sonar-7edbeb242a58a330649760691a011d5dd709206a.zip
Make sure fetch is location independant
Diffstat (limited to '')
-rwxr-xr-xfetch.sh5
1 files changed, 4 insertions, 1 deletions
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;