Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Doc #253

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions docs/guide/advanced/beauty-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,18 @@
curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh
```

::: tip ℹ️ 提示

如果您没有设置代理且在中国大陆进行`Git.raw`的下载 ,往往会下载失败。可以尝试使用镜像网站或者加速代理进行下载。

以下为加速代理网站使用示例,仅做展示。不存在引流行为

```sh
curl -fsSL https://mirror.ghproxy.com/https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh
```

:::

2. 编辑 Zsh 配置文件 `~/.zimrc` :

```sh
Expand All @@ -44,6 +56,21 @@ vim ~/.zimrc
zmodule romkatv/powerlevel10k
```

::: tip ℹ️ 提示

如果您没有设置代理且在中国大陆进行`Git`的下载 ,往往会下载失败。可以尝试使用镜像网站进行下载。

1. 可以把[powerlevel10k](https://github.com/romkatv/powerlevel10k)的项目复制到`gitee`(中国大陆境内的代码托管平台,提供一键式的导入 github 项目)上。
2. 导入完毕后,复制生成的链接。把上文中的`romkatv/powerlevel10k`替换成完整链接地址。

```
zmodule https://gitee.com/myObject/powerlevel10k.git
```

另: 您当然可以选择[他人](https://gitee.com/insanemac/powerlevel10k.git)导入的`powerlevel10k`镜像项目,但是实效性不能保证。

:::

4. 安装 `powerlevel10k` 模块,在终端输入如下命令即可。

```sh
Expand Down