However, I find that every so often my /home directory gets full of due to cached AUR packages (installed using yay) and old configuration files for packages I uninstalled. Often these include packages that I installed once to try out and then subsequently uninstalled. Including old config files, this can take up a sizeable amount of diskspace over a 6-12 month period. To date, I use dolphin to manually delete these files but does anyone know of a faster way?
:: Do you want to remove all other packages from cache? [Y/n] n
and
Do you want to remove unused repositories? [Y/n] n
You could answer n if you want to keep them.
Then:
Build directory: /home/arch/.cache/yay
:: Do you want to remove all other AUR packages from cache? [Y/n] y
removing AUR packages from cache...
:: Do you want to remove ALL untracked AUR files? [Y/n] y
removing untracked AUR files from cache...