dotfiles/generate_pacman.lst.sh
2021-01-12 09:31:16 -06:00

7 lines
252 B
Bash
Executable File

#!/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