dotfiles/bin/remove_orphans

3 lines
94 B
Text
Raw Normal View History

2021-04-01 21:02:01 +02:00
#!/bin/bash
sudo pacman -Qtdq | sudo pacman -Rns - 2> /dev/null|| echo "No orphans to remove"