#!/bin/bash set -x set -u readonly REPO="https://github.com/magicmonty/bash-git-prompt.git" if [[ ! -d "$GIT_PROMPT_PATH" ]]; then git clone "$REPO" "$GIT_PROMPT_PATH" --depth=1 fi