Pacman rehash

Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
Marko Korhonen 2019-11-22 09:20:08 +02:00
parent 228a87f7aa
commit 5033291a61
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5

View file

@ -0,0 +1,6 @@
# from https://wiki.archlinux.org/index.php/Zsh#On-demand_rehash
catch_signal_usr1() {
trap catch_signal_usr1 USR1
rehash
}
trap catch_signal_usr1 USR1