I was using oh-my-zsh as a plugin manager to extend zsh, which has become the standard shell for Macs, but changed to a lightweight tool called zinit in terms of operation.
At the same time, it turned out that I could use the Rust command tools that I usually use (ripgrep and exa).
In this article, we will describe how to set up zinit and configure the tools.
Environment
Mac OS X 10.15.6
ZSH 5.7.1
Procedure
Install zinit
Install zinit (a lightweight and fast zsh plugin management tool) in your environment with the following command.
sh -c"$(curl -fsSL https://raw.githubusercontent.com/zdharma/zinit/master/doc/install.sh)"
After entering the command, the following information will be automatically entered in ~/.zshrc.
### Added by Zinit's installer# ...............source"$HOME/.zinit/bin/zinit.zsh"
autoload -Uz _zinit
### End of Zinit's installer chunk
Update manually with the following command.
zinit self-update
Selecting a tool
This time, the Rust command tools managed by zinit are as follows.
Top comments (0)