Files
dotfiles/bin/pacman-remove-orphans

3 lines
74 B
Bash
Executable File

#!/usr/bin/env sh
pacman -Qtdq | xargs --no-run-if-empty sudo pacman -Rns