https://github.com/milly/zsh-anyenv-cache
Create autoload functions for anyenv, then improve speed your .zshrc
https://github.com/milly/zsh-anyenv-cache
anyenv zsh zsh-plugins
Last synced: about 1 month ago
JSON representation
Create autoload functions for anyenv, then improve speed your .zshrc
- Host: GitHub
- URL: https://github.com/milly/zsh-anyenv-cache
- Owner: Milly
- License: mit
- Created: 2018-11-20T09:07:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-10-18T04:48:27.000Z (over 4 years ago)
- Last Synced: 2025-04-03T14:44:21.728Z (about 1 year ago)
- Topics: anyenv, zsh, zsh-plugins
- Language: Shell
- Size: 6.84 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zsh-anyenv-cache
Create autoload functions for [anyenv](https://github.com/anyenv/anyenv), then improve speed your *.zshrc*
## How to set up
### Manually install
1. Put all files somewhere
2. Add `src` directory to your `$fpath`
3. Call `zsh-anyenv-cache` in your *.zshrc*
#### Example
Download all files:
```zsh
% cd /path/to/dir
% git clone https://github.com/Milly/zsh-anyenv-cache
```
And add the following lines to your *.zshrc*:
```zsh
fpath+=/path/to/dir/zsh-anyenv-cache/src
autoload -Uz zsh-anyenv-cache
zsh-anyenv-cache
```
### Installing using zplug
If you use [zplug](https://github.com/zplug/zplug), add the following
line to your *.zshrc*:
```zsh
zplug Milly/zsh-anyenv-cache
```
### Installing using Antigen
If you use [Antigen](https://github.com/zsh-users/antigen), add the following
line to your *.zshrc*:
```zsh
antigen bundle Milly/zsh-anyenv-cache
```