+#!/bin/bash
+# moa - minion open any
+# Like `mla / minion list any`, but opens all matches in your $EDITOR
+# Optionally search a second term - to quickly open differently named files
+files=$(find $HOME/Journal -type f -iname "*$1*\.md")
+if [ -n "$2" ]; then
+ more_files=$(find $HOME/Journal -type f -iname "*$2*\.md")
+fi
+if [ -z ${EDITOR} ]; then
+ echo "EDITOR unset, defaulting to Nano"
+ export EDITOR=nano
+fi
+$EDITOR $files $more_files