]>
apps.delaporte.us Git - minion.git/blob - bin/moa
2 # moa - minion open any
3 # Like `mla / minion list any`, but opens all matches in your $EDITOR
4 # Optionally search a second term - to quickly open differently named files
5 files
=$(find $HOME/Journal -type f -iname "*$1*\.md")
7 more_files
=$(find $HOME/Journal -type f -iname "*$2*\.md")
9 if [ -z ${EDITOR} ]; then
10 echo "EDITOR unset, defaulting to Nano"
13 $EDITOR $files $more_files