Files
linux-workspace/rc/git-prompt.sh
2022-02-25 19:50:48 +01:00

8 lines
193 B
Bash

export GIT_PROMPT_PATH="$LWS/opt/bash-git-prompt"
GIT_PROMPT_INIT="$GIT_PROMPT_PATH/gitprompt.sh"
if [ -f "$GIT_PROMPT_INIT" ]; then
GIT_PROMPT_ONLY_IN_REPO=1
source "$GIT_PROMPT_INIT"
fi