We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af9b6d2 commit d640d09Copy full SHA for d640d09
code_snippets/mybashrc.sh
@@ -19,6 +19,12 @@ export PS4='+{\$LINENO:\${FUNCNAME[0]}} '
19
####################################################################################################
20
# git
21
22
+### 注:原版的PS1变量为如下形式:
23
+### [root@druidcluster1 ~]# echo $PS1
24
+### [\u@\h \W]\$
25
+### 恢复时直接用:export PS1="[\u@\h \W]\$ "
26
+### 或者有的系统好像可以省略export直接输入PS1="[\u@\h \W]\$ "即可?
27
+
28
## git branch color 1
29
30
function parse_git_branch_and_add_brackets {
0 commit comments