add another source for git-prompt.sh

This commit is contained in:
2024-11-03 16:32:55 +03:00
parent 4e6ac3dfc6
commit 2a8d356f54

View File

@@ -1,5 +1,7 @@
if [ -f /usr/share/git/git-prompt.sh ]; then if [ -f /usr/share/git/git-prompt.sh ]; then
source /usr/share/git/git-prompt.sh source /usr/share/git/git-prompt.sh
elif [ -f /usr/share/git-core/contrib/completion/git-prompt.sh ]; then
source /usr/share/git-core/contrib/completion/git-prompt.sh
fi fi
export EDITOR=nvim export EDITOR=nvim