zsh安装

zsh安装

mac安装zsh


mac默认已经安装了zsh,需要启用zsh

chsh -s /bin/zsh

安装oh-my-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

B5ElaE

启用插件

plugins=(git
  zsh-autosuggestions
  zsh-syntax-highlighting
)

fYEhRs

ubuntu 安装zsh

安装zsh

sudo apt install zsh

启用zsh

chsh -s /bin/zsh

安装oh-my-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

B5ElaE

启用插件

plugins=(git
  zsh-autosuggestions
  zsh-syntax-highlighting
)

fYEhRs

posted @ 2020-05-20 16:22  不学习不快乐  阅读(668)  评论(0)    收藏  举报