Remove git status colorization from PS1

This commit is contained in:
Tony Grosinger 2023-07-23 14:53:27 -07:00
parent e633ef0e5c
commit b2fde694d8

View File

@ -152,13 +152,7 @@ git_prompt () {
git_branch=$(git branch 2>/dev/null| sed -n '/^\*/s/^\* //p')
if git diff --quiet 2>/dev/null >&2; then
git_color="${c_git_clean}"
else
git_color=${c_git_cleanit_dirty}
fi
echo " -- $git_color$git_branch${c_reset}"
echo " -- $git_branch"
}
kubectl_context() {