Merge branch 'dev' of https://github.com/Donaldttt/dotfiles into dev
This commit is contained in:
@@ -6,7 +6,7 @@ if [[ $(type -t __git_ps1) != function ]]; then
|
|||||||
|
|
||||||
local branch=`git branch 2>/dev/null | grep '*' | sed 's/* \(.*\)/\1/'`
|
local branch=`git branch 2>/dev/null | grep '*' | sed 's/* \(.*\)/\1/'`
|
||||||
|
|
||||||
if [ $? ]; then
|
if [ -n "$branch" ]; then
|
||||||
status=`git status 2>/dev/null`
|
status=`git status 2>/dev/null`
|
||||||
local stage_info="not staged for commit"
|
local stage_info="not staged for commit"
|
||||||
local commit_info="Changes to be committed"
|
local commit_info="Changes to be committed"
|
||||||
|
|||||||
Reference in New Issue
Block a user