Improve git-prompt init script
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user