mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 05:52:52 +08:00
update 5.PVE配置模板虚拟机.md.
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user