]> us-delaporte.pagekite.me Git - minion.git/blobdiff - bin/mo
Fixup for mdtohtml
[minion.git] / bin / mo
diff --git a/bin/mo b/bin/mo
index 7f4d04602418f87e44feacca25bfc6e6c53b409f..568dd3a7c0db1275d80f388412bc682f237a44f1 100755 (executable)
--- a/bin/mo
+++ b/bin/mo
@@ -1,7 +1,8 @@
 #!/usr/bin/bash
 year=`date +%Y`
 files=$(find $HOME/Journal/$year -type f -iname "*$1*\.md")
-if [ !x"${EDITOR}" ]; then
+if [ -z ${EDITOR} ]; then
+       echo "EDITOR unset, defaulting to Nano"
        export EDITOR=nano
 fi
 $EDITOR $files