From d7e2f152573a7e1daa685d596a91c0a438875264 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 12 Nov 2024 09:49:47 +0100 Subject: [PATCH] function --- bash/bash/prompt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"