mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-08 13:10:37 +00:00
2e43926781
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
7 lines
156 B
Bash
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
|