diff options
author | Michael Allen <michael@michaelallen.io> | 2015-08-18 23:35:35 +0100 |
---|---|---|
committer | Michael Allen <michael@michaelallen.io> | 2015-08-18 23:35:35 +0100 |
commit | 2f4f10e312a0767a96c654937d7a4706ff60ce0e (patch) | |
tree | b4b580c8b48cd9641bdd585a1a7be326290e6032 | |
parent | 592f945518231a63f330bb473079b827435920f8 (diff) | |
download | git-sonar-2f4f10e312a0767a96c654937d7a4706ff60ce0e.tar.gz git-sonar-2f4f10e312a0767a96c654937d7a4706ff60ce0e.zip |
Provide single entrypoint to make scriping easier
-rwxr-xr-x | prompt | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |