Awesome
zsh-lazyload
zsh plugin for lazy load commands and speed up start up time of zsh
Usage
lazyload command_name [command_name...] -- load_command
Examples
nvm
lazyload nvm -- 'source ~/.nvm/nvm.sh'
Install
zgem
zgem bundle 'https://github.com/qoomon/zsh-lazyload.git' from:'git' use:'zsh-lazyload.zsh'
zplug
zplug qoomon/zsh-lazyload
zgen
zgen load qoomon/zsh-lazyload
zgen save
Antigen
antigen bundle qoomon/zsh-lazyload
antigen apply
Oh My ZSH! custom plugin
git clone https://github.com/qoomon/zsh-lazyload $ZSH_CUSTOM/plugins/zsh-lazyload
plugins+=(zsh-lazyload)
zplug
zplug "qoomon/zsh-lazyload"
manually
git clone https://github.com/qoomon/zsh-lazyload.git
source zsh-lazyload/zsh-lazyload.zsh