I’m trying out Obsidian for taking notes, and this made me laugh.

  • homura1650@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    11 months ago

    Tricky question, but I think I have a solution:

    :!readlink /proc/$PPID/fd/* | grep “$(dirname %)/.$(basename %).sw” | xargs -I{} rm “{}” ; kill -9 $PPID