dotfiles/generate_pacman.lst.sh

7 lines
252 B
Bash
Raw Normal View History

2021-01-12 15:31:16 +00:00
#!/bin/bash
# Exports all installed packages, including foreign ones (AUR)
# This can be used as a reference, or to reinstall packages with:
# `cat pacman.lst | xargs pacman -S --needed --noconfirm`
pacman -Qqe | grep -v "$(pacman -Qqm)" > pacman.lst