Activate zsh rehash with pacman hook

This commit is contained in:
Marko Korhonen 2021-08-17 20:54:45 +03:00
parent 0250876649
commit da9abb7282
4 changed files with 49 additions and 7 deletions

View file

@ -2,11 +2,10 @@
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Type = Path
Target = usr/bin/*
[Action]
Depends = zsh
Depends = procps-ng
When = PostTransaction
Exec = /usr/bin/pkill zsh --signal=USR1
Exec = /usr/bin/install -Dm644 /dev/null /var/cache/zsh/pacman