diff options
author | Toby Vincent <tobyv13@gmail.com> | 2023-06-23 11:44:04 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2023-06-23 11:45:28 -0500 |
commit | a95c17fbf7d1ad423bdcf49181076a638344b68c (patch) | |
tree | 567b22901b83de1c8e2e8e88222e2baa859b1aca | |
parent | bc8c8d0a77a05f25db1099ee5f2995e923d48e8b (diff) |
feat(zsh): add zsh rehash on SIGUSR1
-rw-r--r-- | zsh/.config/zsh/.zshrc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 13e65dc..f113d91 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -26,6 +26,8 @@ setopt NONOMATCH setopt CORRECT setopt INTERACTIVE_COMMENTS +TRAPUSR1() { rehash } + bindkey -v bindkey -m 2>/dev/null |