mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-03-04 18:38:40 +08:00

Use add-zsh-hook to add functions to hooks. That way they won't be added again when doing `source ~/.zshrc` multiple times. Co-authored-by: Marc Cornellà <marc.cornella@live.com>