You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
156 B
Bash
7 lines
156 B
Bash
5 years ago
|
# 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
|