Closed ecksun closed 7 years ago
Awesome, thanks! Didn't know that about debian, great spot.
I've merged this and added tests, it'll be in the next release (0.1.2) which I'll be putting out later today.
I've also received #6 too, with a different solution (fail if no $EDITOR is set) - I'm just going to combine the two: use $EDITOR
if possible, fall back to editor
, or throw a nice error.
Thanks so much!
Apparently I did not have
$EDITOR
set, however debian based systems have theeditor
symlink. This caused issues for me when trying to create a new note:This PR thus uses that binary in case $EDITOR is unset.
Edit: because of issue #2 I don't know how to add a test-case for this :(