]> git.phdru.name Git - dotfiles.git/commitdiff
Feat(bash-prompt): Switch back to `prompt_git`
authorOleg Broytman <phd@phdru.name>
Wed, 20 Jan 2021 17:14:48 +0000 (20:14 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 20 Jan 2021 17:14:48 +0000 (20:14 +0300)
See commit:90cf992.

.shellrc

index 7388d5a59743eb30f696805401708f4ed5f5c751..922702d1b4be30505447b702b5999bea172a2d0e 100644 (file)
--- 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