Files
linux-workspace/scripts/git-prompt-install.sh
2022-09-30 18:48:22 +02:00

12 lines
187 B
Bash
Executable File

#!/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