iTerm2
02/01/2025
一、ohmyzsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"二、zsh-autosuggestions
-
Clone this repository into
$ZSH_CUSTOM/plugins(by default~/.oh-my-zsh/custom/plugins)# If you have Oh My Zsh installed, you can use the following command: git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions -
Add the plugin to the list of plugins for Oh My Zsh to load (inside
~/.zshrc):.zshrc plugins=( # other plugins... zsh-autosuggestions ) -
Start a new terminal session.