Browse Source

load git-prompt.sh if available

pull/1/head
10sr 12 years ago
parent
commit
e9eeae3482
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      bashrc

+ 1
- 0
bashrc View File

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


Loading…
Cancel
Save