Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
devops:настройка_оболочки_для_удобной_работы [2023/12/01 08:51] – [Название ветки git в комндной строке] admindevops:настройка_оболочки_для_удобной_работы [2023/12/01 08:54] (current) – [Название ветки git в комндной строке] admin
Line 25: Line 25:
      git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'      git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
 } }
-export PS1="\u@\h \[\e[32m\]\w \[\e[91m\]\$(parse_git_branch)\[\e[00m\]$ "+export PS1="\u@\h \[\e[32m\]\w \[\e[91m\]\\\$(parse_git_branch)\[\e[00m\]$ "
 EOF EOF
 </code> </code>
  • devops/настройка_оболочки_для_удобной_работы.txt
  • Last modified: 2023/12/01 08:54
  • by admin