Pack iTerm's ZSH integration scripts into a ZSH plugin, avoid polluting your
$HOME directory, with negligible time increase of 2ms.
The only ZSH plugin manager solves the time-consuming init for nvm, nodenv, pyenv, rvm, rbenv, thefuck, fasd, etc, with its amazing async Turbo Mode.
zplugin ice pick'init.zsh' compile'*.zsh'
zplugin light laggardkernel/zsh-iterm2The only framework does optimizations in plugins with sophisticated coding skill:
- refreshing
.zcompdumpevery 20h - compiling
.zcompdumpas bytecode in the background - caching init script for fasd
- saving
*envstartup time withinit - --no-rehashforrbenv,pyenv,nodenv - removing the horribly time-consuming
brew commandfromcommand-not-found
mkdir -p ${ZDOTDIR:-$HOME}/.zprezto/contrib &>/dev/null
git clone https://github.com/laggardkernel/zsh-iterm2.git ${ZDOTDIR:-$HOME}/.zprezto/contrib/zsh-iterm2The GPL-2.0-only License
Copyright (c) 2019 laggardkernel