fix: no error when no __git_ps1
This commit is contained in:
parent
a92374aa00
commit
20e031f9dd
1 changed files with 2 additions and 0 deletions
2
.bashrc
2
.bashrc
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue