-#!/usr/bin/fish
-set year (date +%Y)
-set files $(find $HOME/Journal/$year -type f -iname "*$argv*\.md")
-
-if test (count $files) -lt 5;
- for file in $files
- mdtohtml $file > $file.html
- firefox $file.html
- end;
-else
- echo "More than 5 files found."
-end
+#!/usr/bin/bash
+# mp - minion print
+# Like `ml / minion list`, but gets the markdown file ready to print
+# Will act on a maximum of four files.
+# Creates .md.html files.
+# Opends files in your $BROWSER or assumes firefox
+year=`date +%Y`
+files=$(find $HOME/Journal/$year -type f -iname "*$1*\.md")