安装 oh-my-zsh
安装Zsh
sudo apt-get install -y zsh
安装 Oh-my-Zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh chsh -s /usr/bin/zsh
但我提示如下报错:
sh: 0: Can't open chsh
--2020-07-26 17:38:32-- https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh
Resolving github.com (github.com)... 13.250.177.223
Connecting to github.com (github.com)|13.250.177.223|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/ohmyzsh/ohmyzsh/raw/master/tools/install.sh [following]
--2020-07-26 17:38:32-- https://github.com/ohmyzsh/ohmyzsh/raw/master/tools/install.sh
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh [following]
--2020-07-26 17:38:33-- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 0.0.0.0, ::
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|0.0.0.0|:443... failed: Connection refused.
Connecting to raw.githubusercontent.com (raw.gith