diff --git a/05.PVE制作虚拟机模板.md b/05.PVE制作虚拟机模板.md index 26458bd..62ad5e5 100644 --- a/05.PVE制作虚拟机模板.md +++ b/05.PVE制作虚拟机模板.md @@ -126,10 +126,8 @@ $ sudo sync `Zsh` 是比 `Bash` 好用的 `Shell` 程序,使用 `oh-my-zsh` 进行配置。 ```bash -## 使用清华大学镜像站安装 oh-my-zsh -$ cd && git clone --depth=1 https://mirrors.tuna.tsinghua.edu.cn/git/ohmyzsh.git - -$ cd ohmyzsh/tools && REMOTE=https://mirrors.tuna.tsinghua.edu.cn/git/ohmyzsh.git sh install.sh +## 安装 oh-my-zsh +$ sh -c "$(curl -fsSL https://install.ohmyz.sh)" ## 询问是否切换默认 shell,输入 Y diff --git a/07.PVE制作TS服务器.md b/07.PVE制作TS服务器.md index 91efd68..857ebda 100644 --- a/07.PVE制作TS服务器.md +++ b/07.PVE制作TS服务器.md @@ -132,10 +132,8 @@ $ sudo sync `Zsh` 是比 `Bash` 好用的 `Shell` 程序,使用 `oh-my-zsh` 进行配置。 ```bash -## 使用清华大学镜像站安装 oh-my-zsh -$ cd && git clone --depth=1 https://mirrors.tuna.tsinghua.edu.cn/git/ohmyzsh.git - -$ cd ohmyzsh/tools && REMOTE=https://mirrors.tuna.tsinghua.edu.cn/git/ohmyzsh.git sh install.sh +## 安装 oh-my-zsh +$ sh -c "$(curl -fsSL https://install.ohmyz.sh)" ## 询问是否切换默认 shell,输入 Y