Yes, you can do this with a pacman hook! Here a bit of a template for you:
# /etc/pacman.d/hooks/<file>.hook
[Trigger]
Operation = Upgrade
Type = Package
Target = <R package name>
[Action]
Description = <description>
# Depends is optional if this should depend on another package
Depends =
When = PostTransaction
Exec = <command or script>
Just write this to some file <file>.hook in the /etc/pacman.d/hooks/ directory replacing the bits inside the angle brackets with what you want to happen. The description bit will be the message pacman prints when the hook runs.
Related forum post, I too missed this as I haven't done an install in a while. Doesn't look like it's coming back, just going to have to get used to the Installation Guide.
Yes, you can do this with a pacman hook! Here a bit of a template for you:
Just write this to some file
<file>.hookin the/etc/pacman.d/hooks/directory replacing the bits inside the angle brackets with what you want to happen. The description bit will be the message pacman prints when the hook runs.Related forum post, I too missed this as I haven't done an install in a while. Doesn't look like it's coming back, just going to have to get used to the Installation Guide.
Yes, I also use zsh in vi mode and have experienced the same issue. I fixed mine using bindkey with the following lines:
Informant author here: thanks for promoting it!
Informant author here: I've actually just updated it so that errors fetching the news should only warn now and not block a pacman transaction.