Pacman rehash
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
parent
228a87f7aa
commit
5033291a61
1 changed files with 6 additions and 0 deletions
6
home/.config/zsh/06-pacman.zsh
Normal file
6
home/.config/zsh/06-pacman.zsh
Normal 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
|
Loading…
Reference in a new issue