diff options
author | Michael Allen <michael@michaelallen.io> | 2015-08-19 16:31:09 +0100 |
---|---|---|
committer | Michael Allen <michael@michaelallen.io> | 2015-08-19 16:31:09 +0100 |
commit | 7edbeb242a58a330649760691a011d5dd709206a (patch) | |
tree | 368a8ae0763eef2a53a62aa994bbf8f6ea75e49d | |
parent | 685a5471d2dc7209e16df5654ba8b05f401526ab (diff) | |
download | git-sonar-7edbeb242a58a330649760691a011d5dd709206a.tar.gz git-sonar-7edbeb242a58a330649760691a011d5dd709206a.zip |
Make sure fetch is location independant
-rwxr-xr-x | fetch.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |