3 ORG_GREP='-e .org$ -e .org_archive$ -e .org_done$'
7 for a in $(mr list |grep 'list:'|grep -v 'finished'|awk -F'list: ' '{print $2}' 2>/dev/null); do
9 if git status --porcelain|grep '^ M'|grep -q $ORG_GREP; then
10 git commit -m'update org files' $(mr --no-recurse status |grep '^ M'|grep $ORG_GREP|sed 's/^ M//g');
11 if [ "$1" != "commit" ]; then