Jorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 8 months agoVery clever...lemmy.mlimagemessage-square293fedilinkarrow-up12.22Karrow-down118file-text
arrow-up12.2Karrow-down1imageVery clever...lemmy.mlJorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 8 months agomessage-square293fedilinkfile-text
minus-squarehomura1650@lemmy.worldlinkfedilinkarrow-up21·edit-28 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