This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function parse_git_deleted { | |
[[ $(git status 2> /dev/null | grep deleted:) != '' ]] && echo '-' | |
} | |
function parse_git_added { | |
[[ $(git status 2> /dev/null | grep 'Untracked files:') != '' ]] && echo '+' | |
} | |
function parse_git_modified { | |
[[ $(git status 2> /dev/null | grep modified:) != '' ]] && echo '*' | |
} | |
function parse_git_dirty { |
NewerOlder