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-iterm2
The only framework does optimizations in plugins with sophisticated coding skill:
- refreshing
.zcompdump
every 20h - compiling
.zcompdump
as bytecode in the background - caching init script for fasd
- saving
*env
startup time withinit - --no-rehash
forrbenv
,pyenv
,nodenv
- removing the horribly time-consuming
brew command
fromcommand-not-found
mkdir -p ${ZDOTDIR:-$HOME}/.zprezto/contrib &>/dev/null
git clone https://github.com/laggardkernel/zsh-iterm2.git ${ZDOTDIR:-$HOME}/.zprezto/contrib/zsh-iterm2
The GPL-2.0-only License
Copyright (c) 2019 laggardkernel