目录
linux下载zsh

下载zsh

1
2
3
4
5
sudo apt-get install zsh
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
chsh -s /bin/zsh

下载自动提示

1
2
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh

找个空地方把下面的配置添加上去

1
2
vim ~/.zshrc
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
文章作者: limc
文章链接: http://yoursite.com/2020/04/08/linux%E4%B8%8B%E8%BD%BDzsh/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 limc