Use safer append to hook function arrays (#8406)

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>
This commit is contained in:
Jacob TomawandMarc Cornellà authored and Marc Cornellà committed 2019-11-19 18:47:12 +01:00
1 parent d4f32e9f3a
commit 1ba0af650a
12 files changed
+29 -23

No files matched your search

+1
View File
@@ -4,3 +4,4 @@ custom/
# temp files directories
cache/
log/
*.swp