fix _git_ps1 command not found situation

This commit is contained in:
NAME
2022-07-25 17:11:56 -04:00
parent 9576996ffb
commit 3684f0f588
+1 -1
View File
@@ -1,7 +1,7 @@
# display git status
export GIT_PS1_SHOWDIRTYSTATE=1
if [[ $(type -t foo) != function ]]; then
if [[ $(type -t __git_ps1) != function ]]; then
__git_ps1(){
local branch=`git branch 2>/dev/null | grep '*' | sed 's/* \(.*\)/\1/'`