fix: no error when no __git_ps1

This commit is contained in:
Tobias Reisinger 2019-09-24 01:32:18 +02:00
parent a92374aa00
commit 20e031f9dd

View file

@ -29,6 +29,8 @@ nc='\[\e[0m\]'
if [ -f /usr/share/git/completion/git-prompt.sh ]; then
source /usr/share/git/completion/git-prompt.sh
else
function __git_ps1() { echo ""; };
fi
if [ -f ~/.bash_aliases ]; then