Discussion about handling orphaned packages

I reworked and tested the fish implementation.
The initial post was just a very rough estimation, this one does happen to work:

function cleanup
   while pacman -Qdtq
      sudo pacman -R --noconfirm (pacman -Qdtq)
   end
end

This has a merge request now.

3 Likes