Improve git-prompt installation script
This commit is contained in:
@@ -5,4 +5,7 @@ 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user