Move installation scripts to install/ dir
This commit is contained in:
13
install/git-prompt.sh
Executable file
13
install/git-prompt.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -E -o errexit -o nounset -o pipefail
|
||||
set -x
|
||||
|
||||
GIT_PROMPT_PATH=${GIT_PROMPT_PATH:-$LWS/opt/bash-git-prompt}
|
||||
|
||||
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