Jorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 11 months agoVery clever...lemmy.mlimagemessage-square298fedilinkarrow-up12.32Karrow-down121file-text
arrow-up12.3Karrow-down1imageVery clever...lemmy.mlJorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 11 months agomessage-square298fedilinkfile-text
minus-squarehomura1650@lemmy.worldlinkfedilinkarrow-up22·edit-211 months agoTricky question, but I think I have a solution: :!readlink /proc/$PPID/fd/* | grep “$(dirname %)/.$(basename %).sw” | xargs -I{} rm “{}” ; kill -9 $PPID
Tricky question, but I think I have a solution:
Technically correct