前提系统里已经安装zsh
离线安装oh-my-zsh
- 下载github的zip oh-my-zsh,上传到服务器并解压
- 下载github的zip hmyzsh-offline,上传到服务器并解压
- 将offline_install.diff放到oh-my-zsh中并
git apply offline_install.diff
- 正常 toools/install.sh
离线安装 auto-suggestions
- 下载github的zip uto-suggestions,上传到服务器并解压
mv xxx-master ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
- 修改.zshrc并source