# zinit





For more information see:
- README section on the ice-modifiers:
    - https://github.com/zdharma/zinit#ice-modifiers,
    
- intro to Zinit at the Wiki:
    - https://zdharma.org/zinit/wiki/INTRODUCTION/,
    
- zinit-zsh GitHub account, which holds all the available Zinit annexes:
    - https://github.com/zinit-zsh/,
    
- For-Syntax article on the Wiki; it is less directly related to the ices, however, it explains how to use them conveniently:
    - https://zdharma.org/zinit/wiki/For-Syntax/.
    
- zdharma-continuum
    - https://github.com/zdharma-continuum/zinit

    



Installation:

```bash
sh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma/zinit/master/doc/install.sh)"
```

a



```bash
Downloading zinit-zsh/z-a-rust…
▹▸▹▹▹ ███████████ OBJ: 100, PACK: 0/153, COMPR: 100%
Note: Compiling: z-a-rust.plugin.zsh… OK.

Downloading zinit-zsh/z-a-as-monitor…
▝ ███████████ OBJ: 100, PACK: 0/333, COMPR: 100%
Note: Compiling: z-a-readurl.plugin.zsh… OK.

Downloading zinit-zsh/z-a-patch-dl…
▐ ███████████ OBJ: 100, PACK: 0/105, COMPR: 100%
Note: Compiling: z-a-patch-dl.plugin.zsh… OK.

Downloading zinit-zsh/z-a-bin-gem-node…
▍ ███████████ OBJ: 100, PACK: 0/530, COMPR: 100%
Note: Compiling: z-a-bin-gem-node.plugin.zsh… OK.
bruno@airbook ~ %
```



```bash
❯ zinit zstatus
Found existing alias for "zinit". You should use: "zini"
Zinit's main directory: /Users/bruno/.zinit
Zinit's binary directory: /Users/bruno/.zinit/bin
Plugin directory: /Users/bruno/.zinit/plugins
Completions directory: /Users/bruno/.zinit/completions
Loaded plugins: 13
Light loaded: 4
Downloaded plugins: 14
Enabled completions: 148
Disabled completions: 0
Completions available overall: 152
Snippets loaded:
Compiled plugins: 13
```



```bash
❯ zinit times
Found existing alias for "zinit". You should use: "zini"
Plugin loading times:
    1 ms - zinit-zsh/z-a-rust
    1 ms - zinit-zsh/z-a-as-monitor
    1 ms - zinit-zsh/z-a-patch-dl
    2 ms - zinit-zsh/z-a-bin-gem-node
   12 ms - romkatv/powerlevel10k
    5 ms - zdharma/history-search-multi-word
    5 ms - zsh-users/zsh-autosuggestions
   33 ms - zdharma/fast-syntax-highlighting
   12 ms - MichaelAquilina/zsh-you-should-use
    5 ms - ael-code/zsh-colored-man-pages
    4 ms - zsh-users/zsh-completions
    9 ms - marzocchi/zsh-notify
   19 ms - wfxr/forgit
Total: 0.109 sec
```



```bash
# Self update
zinit self-update

# Plugin update
zinit update
zinit update --no-pager --quiet

# Plugin parallel update
zinit update --parallel

# Increase the number of jobs in a concurrent-set to 40
zinit update --parallel 40
```



```bash
❯ zinit status
Found existing alias for "zinit". You should use: "zini"
Assuming --all is passed
Updating Zinit…
Note: status done also for unloaded plugins

Status for plugin MichaelAquilina/zsh-you-should-use
Sur la branche master
Votre branche est à jour avec 'origin/master'.
```



```bash
❯ zinit ls
Found existing alias for "zinit". You should use: "zini"
No `tree' program, it is required by the subcommand `ls'
Download from: http://mama.indstate.edu/users/ice/tree/
It is also available probably in all distributions and Homebrew, as package `tree'
.
├── OMZ::plugins
└── plugins -> OMZ::plugins

2 directories, 0 files, located at ZINIT[SNIPPETS_DIR], i.e. /Users/bruno/.zinit/snippets
```



```bash
❯ zinit delete chipsenkbeil/zsh-notes
Found existing alias for "zinit". You should use: "zini"
Delete /Users/bruno/.zinit/plugins/chipsenkbeil---zsh-notes? (it holds: zsh-notes.plugin.zsh, .gitignore, LICENSE, README.md, more…)
[yY/n…]
y
Done (action executed, exit code: 0)

```



#### Les plugins sont installés ici:

```bash
/Users/bruno/.zinit/plugins/
```

