jimeh / git-aware-prompt

Display current Git branch name in your terminal prompt when in a Git working directory.
Creative Commons Zero v1.0 Universal
2.15k stars 340 forks source link

Update prompt.sh #67

Open tuod opened 4 years ago

tuod commented 4 years ago

Hi! I suffered a lot, so I made a small fix. We don't need to run git status outside git repos.