看到branch name 的提示

#add for git
source /etc/bash_completion.d/git

export PS1='\w$(__git_ps1 "(%s)") \$ '

轉載

https://stackoverflow.com/questions/9717137/displaying-git-branch-name-in-prompt-does-not-work-in-screen

猜你喜欢

转载自blog.csdn.net/u011028408/article/details/79325365
今日推荐