minus-squarehomura1650@lemmy.worldtoProgrammer Humor@lemmy.ml•Very clever...linkfedilinkarrow-up0·edit-21 year agoTricky question, but I think I have a solution: :!readlink /proc/$PPID/fd/* | grep “$(dirname %)/.$(basename %).sw” | xargs -I{} rm “{}” ; kill -9 $PPID linkfedilink
Tricky question, but I think I have a solution: