foodotfiles/home/.config/zsh/06-pacman.zsh
Marko Korhonen 5033291a61
Pacman rehash
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2019-11-22 09:20:08 +02:00

7 lines
156 B
Bash

# 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