Last active
September 6, 2018 12:13
-
-
Save GeneralD/a1550e890a4c581d233896517d90de19 to your computer and use it in GitHub Desktop.
必要なファイルのみzcompileする ref: https://qiita.com/GeneralD/items/73e31ab8cf9aa01e480f
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
() { # zcompile if needed | |
local src | |
for src in $@; do | |
([[ ! -e $src.zwc ]] || [[ $src:A -nt $src.zwc ]]) && zcompile $src | |
done | |
} ~/.zshenv ~/.zshrc ~/.zprofile ~/.zlogin ~/.zlogout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment