summaryrefslogtreecommitdiffstats
path: root/git-radar
diff options
context:
space:
mode:
authorMichael Allen <michael@michaelallen.io>2015-08-19 10:50:23 +0100
committerMichael Allen <michael@michaelallen.io>2015-08-19 10:50:23 +0100
commit61b5a9c87d77380c57f5349bc43cefa0f4415c4f (patch)
treedea5014649815acc957858daef19c46cbe2a72b3 /git-radar
parentd5dbddf68c45dfff380d6e6767de401054024a19 (diff)
downloadgit-sonar-61b5a9c87d77380c57f5349bc43cefa0f4415c4f.tar.gz
git-sonar-61b5a9c87d77380c57f5349bc43cefa0f4415c4f.zip
Rename to git-radar
Diffstat (limited to 'git-radar')
-rwxr-xr-xgit-radar12
1 files changed, 12 insertions, 0 deletions
diff --git a/git-radar b/git-radar
new file mode 100755
index 0000000..bce4480
--- /dev/null
+++ b/git-radar
@@ -0,0 +1,12 @@
+#! /usr/bin/env bash
+
+dot="$(cd "$(dirname "$0")"; pwd)"
+
+command="$1"
+
+if [[ "$command" == "--zsh" ]]; then
+ $dot/prompt.zsh
+fi
+if [[ "$command" == "--bash" || "$command" == "" ]]; then
+ $dot/prompt.bash
+fi