2321
Very clever... (lemmy.ml)
submitted 11 months ago by Jorgelino@lemmy.ml to c/programmerhumor@lemmy.ml

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
[-] homura1650@lemmy.world 22 points 11 months ago* (last edited 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

[-] isVeryLoud@lemmy.ca 4 points 11 months ago

Technically correct

this post was submitted on 25 Oct 2023
2321 points (99.2% liked)

Programmer Humor

32233 readers
363 users here now

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

Rules:

founded 5 years ago
MODERATORS