From 2f4f10e312a0767a96c654937d7a4706ff60ce0e Mon Sep 17 00:00:00 2001 From: Michael Allen Date: Tue, 18 Aug 2015 23:35:35 +0100 Subject: Provide single entrypoint to make scriping easier --- prompt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 prompt diff --git a/prompt b/prompt new file mode 100755 index 0000000..bce4480 --- /dev/null +++ b/prompt @@ -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 -- cgit v1.2.3