빠르고 유연한 zsh 플러그인 매니저
1sh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma-continuum/zinit/HEAD/scripts/install.sh)"
~/.zshrc 에 다음과 같이 적어 플러그인을 불러올 수 있다.
1zinit load <repo/plugin> # Load with reporting/investigating.
2zinit light <repo/plugin> # Load without reporting/investigating.
1# Plugin history-search-multi-word loaded with investigating.
2zinit load zdharma-continuum/history-search-multi-word
3
4# Two regular plugins loaded without investigating.
5zinit light zsh-users/zsh-autosuggestions
6zinit light zdharma-continuum/fast-syntax-highlighting
7
8# Snippet
9zinit snippet https://gist.githubusercontent.com/hightemp/5071909/raw/
1# Load powerlevel10k theme
2zinit ice depth"1" # git clone depth
3zinit light romkatv/powerlevel10k
4
5# Load pure theme
6zinit ice pick"async.zsh" src"pure.zsh" # with zsh-async library that's bundled with it.
7zinit light sindresorhus/pure
8
9# Load starship theme
10zinit ice as"command" from"gh-r" \ # `starship` binary as command, from github release
11 atclone"./starship init zsh > init.zsh; ./starship completions zsh > _starship" \ # starship setup at clone(create init.zsh, completion)
12 atpull"%atclone" src"init.zsh" # pull behavior same as clone, source init.zsh
13zinit light starship/starship