Compare commits

..
2 Commits
Author SHA1 Message Date
CallMeR 47ebcd6628 修复 omz 清理命令 2026-07-13 12:38:18 +08:00
CallMeR 190342575e omz 使用官方镜像 2026-07-11 12:29:54 +08:00
2 changed files with 6 additions and 10 deletions
+3 -5
View File
@@ -126,10 +126,8 @@ $ sudo sync
`Zsh` 是比 `Bash` 好用的 `Shell` 程序,使用 `oh-my-zsh` 进行配置。 `Zsh` 是比 `Bash` 好用的 `Shell` 程序,使用 `oh-my-zsh` 进行配置。
```bash ```bash
## 使用清华大学镜像站安装 oh-my-zsh ## 安装 oh-my-zsh
$ cd && git clone --depth=1 https://mirrors.tuna.tsinghua.edu.cn/git/ohmyzsh.git $ sh -c "$(curl -fsSL https://install.ohmyz.sh)"
$ cd ohmyzsh/tools && REMOTE=https://mirrors.tuna.tsinghua.edu.cn/git/ohmyzsh.git sh install.sh
## 询问是否切换默认 shell,输入 Y ## 询问是否切换默认 shell,输入 Y
@@ -138,7 +136,7 @@ Time to change your default shell to zsh:
Do you want to change your default shell to zsh? [Y/n] y Do you want to change your default shell to zsh? [Y/n] y
## oh-my-zsh 安装后清理 ## oh-my-zsh 安装后清理
$ cd && rm -rvf ohmyzsh .bash_history .zsh_history .shell.pre-oh-my-zsh $ cd && rm -rvf .bash_history .zsh_history .shell.pre-oh-my-zsh
``` ```
### 1.5.配置默认编辑器 ### 1.5.配置默认编辑器
+3 -5
View File
@@ -132,10 +132,8 @@ $ sudo sync
`Zsh` 是比 `Bash` 好用的 `Shell` 程序,使用 `oh-my-zsh` 进行配置。 `Zsh` 是比 `Bash` 好用的 `Shell` 程序,使用 `oh-my-zsh` 进行配置。
```bash ```bash
## 使用清华大学镜像站安装 oh-my-zsh ## 安装 oh-my-zsh
$ cd && git clone --depth=1 https://mirrors.tuna.tsinghua.edu.cn/git/ohmyzsh.git $ sh -c "$(curl -fsSL https://install.ohmyz.sh)"
$ cd ohmyzsh/tools && REMOTE=https://mirrors.tuna.tsinghua.edu.cn/git/ohmyzsh.git sh install.sh
## 询问是否切换默认 shell,输入 Y ## 询问是否切换默认 shell,输入 Y
@@ -144,7 +142,7 @@ Time to change your default shell to zsh:
Do you want to change your default shell to zsh? [Y/n] y Do you want to change your default shell to zsh? [Y/n] y
## oh-my-zsh 安装后清理 ## oh-my-zsh 安装后清理
$ cd && rm -rvf ohmyzsh .bash_history .zsh_history .shell.pre-oh-my-zsh $ cd && rm -rvf .bash_history .zsh_history .shell.pre-oh-my-zsh
``` ```
### 1.5.配置默认编辑器 ### 1.5.配置默认编辑器