标签:
设置shell的提示符:
export PS1=‘[\u@\h \w]$ ‘
export PS1=‘[\[\033]0;$MSYSTEM:${PWD//[^[:ascii:]]/?}\007\]\[\033[32m\]\u@\h \[\033[33m\]\w\[\033[36m\]`__git_ps1`\[\033[0m\]]$ ‘
windows git-bash 设置
原文地址:http://www.cnblogs.com/a-ray-of-sunshine/p/4973836.html