瀏覽代碼

load git-prompt.sh if available

pull/1/head
10sr 12 年之前
父節點
當前提交
e9eeae3482
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      bashrc

+ 1
- 0
bashrc 查看文件

@@ -489,6 +489,7 @@ __my_ps1_moc(){
__my_moc_state "[MOC:%s]"
return $last
}
test -r /usr/share/git/git-prompt.sh && . /usr/share/git/git-prompt.sh
__my_ps1_git(){
local last=$?
null type __git_ps1 || return $last


Loading…
取消
儲存