This commit is contained in:
Marc Beninca 2024-11-12 09:49:47 +01:00
parent 3b979057c1
commit d7e2f15257
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -15,7 +15,7 @@ local view="└ "
view="${view}\e[0;32m" view="${view}\e[0;32m"
fi fi
view="${view}${code}\e[0m @ \e[0;33m${date}\e[0m" 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)" git="$(__git_ps1)"
if [ "${git}" ] ; then if [ "${git}" ] ; then
view="${view} –\e[0;35m${git}\e[0m" view="${view} –\e[0;35m${git}\e[0m"