Open ~/.bash_profile in your favorite editor and add the following content to the bottom.
# Git branch in prompt.
parse_git_branch() {This file was generated automatically based on this two sources:
This is a JSON object by following structure:
[string ext] : {
signs: [sign]
| function DUBLIST(arr) { | |
| // 构建双向链表 | |
| debugger | |
| let HEAD = 0 | |
| let TAIL = 0 | |
| let POINTER = 0 | |
| let length = 0 | |
| if (arr.length === 0) { | |
| return { | |
| data: null, |