Install git-prompt to LWS directory

This commit is contained in:
Martin Blazik
2022-02-25 19:50:48 +01:00
parent 5cbf74bf7d
commit c9e6be90d8
2 changed files with 7 additions and 5 deletions

View File

@@ -1,9 +1,8 @@
#!/bin/bash
# https://github.com/magicmonty/bash-git-prompt
set -x
set -u
git clone https://github.com/magicmonty/bash-git-prompt.git ~/.bash-git-prompt --depth=1
readonly REPO="https://github.com/magicmonty/bash-git-prompt.git"
git clone "$REPO" "$GIT_PROMPT_PATH" --depth=1