# Update your mrconfig and check all registered repositories
# Pipe through cat so we don't have to deal with mr's dynamic output weirdness
- mrconfig-updater && mr -m status | cat
+ if which mr &> /dev/null; then
+ mrconfig-updater && mr -m status | cat
+ fi
# Check your TODO lists
todo
# Iterate
function todo_find {
for folder in $FOLDERS; do
+ if [ ! -d "$folder" ]; then
+ continue
+ fi
+
find $folder/ -maxdepth $TODO_MAXDEPTH -xtype f -iname 'todo*' | while read todo; do
# Ignore lists without tasks
if grep -q -e '*' -e '-' $todo; then