Skip to content

Commit

Permalink
Resolve error for mac bash
Browse files Browse the repository at this point in the history
Resolve error for mac bash
  • Loading branch information
maabiddevra authored Jun 7, 2018
1 parent 7ea6c64 commit 2f71376
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ function dirty_status {
unset dirty deleted untracked newfile copied renamed
while read line ; do
case "${line//[[:space:]]/}" in
@('M'|'UU')*) dirty='!' ; ;;
'M'*) dirty='!' ; ;;
'UU'*) dirty='!' ; ;;
'D'*) deleted='x' ; ;;
'??'*) untracked='?' ; ;;
'A'*) newfile='+' ; ;;
Expand Down

0 comments on commit 2f71376

Please sign in to comment.