diff --git a/bash/bash/prompt.sh b/bash/bash/prompt.sh index da8a978..30e9014 100644 --- a/bash/bash/prompt.sh +++ b/bash/bash/prompt.sh @@ -15,7 +15,7 @@ local view="└ " view="${view}\e[0;32m" fi view="${view}${code}\e[0m @ \e[0;33m${date}\e[0m" - if [ "$(type -t __git_ps1)" == 'function' ] ; then + if [ "$(type -t __git_ps1)" == "function" ] ; then git="$(__git_ps1)" if [ "${git}" ] ; then view="${view} –\e[0;35m${git}\e[0m"