Files
dotfiles/bin/pacman-remove-orphans

3 lines
85 B
Bash
Executable File

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