From: Oleg Broytman Date: Wed, 20 Jan 2021 17:14:48 +0000 (+0300) Subject: Feat(bash-prompt): Switch back to `prompt_git` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=ba488846cf445a7881b4289a11819902c81bfdd0;p=dotfiles.git Feat(bash-prompt): Switch back to `prompt_git` See commit:90cf992. --- 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