summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xprompt12
1 files changed, 12 insertions, 0 deletions
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