vi and popd/clear fix for nnotes too

This commit is contained in:
Leonora Tindall 2026-08-19 11:10:32 -05:00
parent 7b90677f99
commit f235bbf084
1 changed files with 1 additions and 1 deletions

2
nnotes
View File

@ -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