Update bash promp
This commit is contained in:
parent
0ad6da0d2f
commit
b801bfe7d0
@ -24,12 +24,12 @@ function parse_git_status {
|
||||
return
|
||||
fi
|
||||
if [[ $(git status 2> /dev/null | grep "working directory clean" | wc -l) -eq 0 ]]; then
|
||||
echo '∓'
|
||||
echo ' ∓'
|
||||
fi
|
||||
}
|
||||
|
||||
function parse_git_branch {
|
||||
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
|
||||
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'
|
||||
}
|
||||
|
||||
function get-create-date {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user