oh-my-zsh
参考
https://github.com/ohmyzsh/ohmyzsh#advanced-installation
中 Manual Installation 的步骤即可,不用像网上教程那样手工修改install.sh。
Manual Installation
1. Clone the repository (从可以联网的地方先下载好,并改名~/.oh-my-zsh)
git clone https://github.com/ohmyzsh/ohmyzsh.git ~/.oh-my-zsh
2. Optionally, backup your existing ~/.zshrc
file
cp ~/.zshrc ~/.zshrc.orig
3. Create a new zsh configuration file
You can create a new zsh config file by copying the template that we have included for you.
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
4. Change your default shell
chsh -s $(which zsh)
You must log out from your user session and log back in to see this change.
5. Initialize your new zsh configuration
Once you open up a new terminal window, it should load zsh with Oh My Zsh’s configuration.
zsh-autosuggestion
参考:
https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md#manual-git-clone
从可以联网的地方先下载好,放到对应位置即可。