Improve git-prompt init script

This commit is contained in:
Martin Blazik
2022-05-29 14:30:38 +02:00
parent e348bb489a
commit 3ce078c0be

View File

@@ -1,7 +1,3 @@
GIT_PROMPT_INIT="$HOME/.bash-git-prompt/gitprompt.sh"
if [ -e "$GIT_PROMPT_INIT" ]; then
GIT_PROMPT_ONLY_IN_REPO=1
source "$GIT_PROMPT_INIT"
fi
GIT_PROMPT_ONLY_IN_REPO=1
source_try "$GIT_PROMPT_INIT"