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