Recently I 've been wanting to create a custom parameter for
To elaborate, I have tweaked
pacman.conf so that specific packages (
linux-firmware, and a couple more) are ignored when I use
# pacman -Syu to upgrade all packages - unless they are explicitly mentioned (eg.
# pacman -Syu linux linux-firmware).
So what I want now is a parameter to use instead of mentioning each package that is normally ignored.
Summing it up, I want to create a parameter (say
--param) so that
# pacman -Syu --param be equivalent to
# pacman -Syu linux linux-firmware linux-headers ....
- Trying to implement this using aliases seems to be impossible (unless I've missed something).
- A parameter to allow upgrading all ignored packages would be welcome, albeit not ideal. It also seems to me that it would be far more difficult to construct.
- I'm currently using
zsh) - I'm open to suggestions though.