Create autoload functions for anyenv, then improve speed your .zshrc
- Put all files somewhere
- Add
srcdirectory to your$fpath - Call
zsh-anyenv-cachein your .zshrc
Download all files:
% cd /path/to/dir
% git clone https://github.com/Milly/zsh-anyenv-cacheAnd add the following lines to your .zshrc:
fpath+=/path/to/dir/zsh-anyenv-cache/src
autoload -Uz zsh-anyenv-cache
zsh-anyenv-cacheIf you use zplug, add the following line to your .zshrc:
zplug Milly/zsh-anyenv-cacheIf you use Antigen, add the following line to your .zshrc:
antigen bundle Milly/zsh-anyenv-cache