zsh安装
zsh安装
mac安装zsh
mac默认已经安装了zsh,需要启用zsh
chsh -s /bin/zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
安装高亮插件
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
安装自动补全插件
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
修改.zshrc 修改主题,启用插件,
vim ~/.zshrc

启用插件
plugins=(git
zsh-autosuggestions
zsh-syntax-highlighting
)

ubuntu 安装zsh
安装zsh
sudo apt install zsh
启用zsh
chsh -s /bin/zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
安装高亮插件
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
安装自动补全插件
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
修改.zshrc 修改主题,启用插件,
vim ~/.zshrc

启用插件
plugins=(git
zsh-autosuggestions
zsh-syntax-highlighting
)


浙公网安备 33010602011771号