Archived
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
47ebcd6628 | ||
|
|
190342575e |
+3
-5
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
## 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.配置默认编辑器
|
||||
|
||||
+3
-5
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
## 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.配置默认编辑器
|
||||
|
||||
Reference in New Issue
Block a user