From ba488846cf445a7881b4289a11819902c81bfdd0 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 20 Jan 2021 20:14:48 +0300 Subject: [PATCH] Feat(bash-prompt): Switch back to `prompt_git` See commit:90cf992. --- .shellrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.shellrc b/.shellrc index 7388d5a..922702d 100644 --- a/.shellrc +++ b/.shellrc @@ -349,11 +349,11 @@ mc() { if [ "`type -t short_curdir`" = function ]; then OPS1="\`cgmem_which_prompt\`\u@\${HOSTNAME::5}:\`short_curdir\`" if test -x /usr/bin/git >/dev/null 2>&1; then - if [ "`type -t __git_ps1`" = function ]; then - OPS1+="\$(__git_ps1)" - else + #if [ "`type -t __git_ps1`" = function ]; then + # OPS1+="\$(__git_ps1)" + #else OPS1+="\$(prompt_git)" - fi + #fi fi OPS1+=" \$SHLVL\\$ " else -- 2.39.2