2255
Very clever... (lemmy.ml)
submitted 8 months ago by [email protected] to c/[email protected]

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

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 21 points 8 months ago* (last edited 8 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

[-] [email protected] 4 points 8 months ago

Technically correct

this post was submitted on 25 Oct 2023
2255 points (99.1% liked)

Programmer Humor

31326 readers
20 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS