diff --git a/nnotes b/nnotes index 63c3393..5e7d22b 100755 --- a/nnotes +++ b/nnotes @@ -35,7 +35,7 @@ else echo "$DATEDIR" pushd "$NOTESDIR" > /dev/null printf "\033]2;$NOTETYPE note\a" - $EDITOR + ${EDITOR:-vi} || true # || true so if editor fails we still clear title & popd printf "\033]2;\a" popd > /dev/null fi