don't skip clearing custom header on editor failure
This commit is contained in:
parent
a0b3740100
commit
7f8fbbf55b
2
nnote
2
nnote
|
|
@ -44,7 +44,7 @@ else
|
||||||
fi
|
fi
|
||||||
pushd "$NOTESDIR" > /dev/null
|
pushd "$NOTESDIR" > /dev/null
|
||||||
printf "\033]2;$NOTENAME $NOTETYPE note\a"
|
printf "\033]2;$NOTENAME $NOTETYPE note\a"
|
||||||
$EDITOR "$NOTEPATH"
|
$EDITOR "$NOTEPATH" || true # || true so we always clear header and popd
|
||||||
printf "\033]2;\a"
|
printf "\033]2;\a"
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue