update 5.PVE配置模板虚拟机.md.

This commit is contained in:
秋刀狐狸
2022-08-07 07:52:27 +00:00
committed by Gitee
parent f88806bc11
commit c5728b54f3
+22
View File
@@ -376,3 +376,25 @@ sudo crontab -e
0 5 * * * snap restart adguard-home
0 6 8,24 * * /usr/sbin/reboot
```
### 1.9.配置ZSH
`Zsh` 是比 `Bash` 好用的 `Shell` 程序,使用 `oh-my-zsh` 进行配置:
```bash
## 返回 home 目录
cd
## 使用 curl 安装 oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
## 或者使用 wget 安装 oh-my-zsh
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
## 询问是否切换默认 shell,输入 Y
## 示例输出
Time to change your default shell to zsh:
Do you want to change your default shell to zsh? [Y/n] y
```