When setting up .bashrc on Windows for Git Bash, why is a function in PS1 showing the function name rather than evaluating?

前端 未结 0 502
天涯浪人
天涯浪人 2021-02-14 02:32

Below is what I currently have in the .bashrc file located in my home directory.

parse_git_branch() {
     git branch 2> /dev/null | sed -e \'/^[^*]/d\' -e \'s         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题