diff --git a/docs/zh-CN/guide/README.md b/docs/zh-CN/guide/README.md index c907d1ea..ef181a76 100644 --- a/docs/zh-CN/guide/README.md +++ b/docs/zh-CN/guide/README.md @@ -151,7 +151,7 @@ Starship with iTerm2 and the Snazzy theme @@ -166,7 +166,7 @@ - **易用:** 安装快速 —— 几分钟就可上手。

-Explore the Starship docs  ▶ +探索 Starship 文档

@@ -179,12 +179,12 @@ ### 步骤 1. 安装 Starship -Select your operating system from the list below to view installation instructions: +从下面的列表中选择您的操作系统以查看安装指令:
Android -Install Starship using any of the following package managers: +使用下列软件包管理器安装Starship: | 软件包来源 | 指令 | | --------------------------------------------------------------------------------- | ---------------------- | @@ -195,7 +195,7 @@ Install Starship using any of the following package managers:
BSD -Install Starship using any of the following package managers: +使用下列软件包管理器安装Starship: | 发行版 | 软件包来源 | 指令 | | ----------- | -------------------------------------------------------- | --------------------------------- | @@ -208,13 +208,13 @@ Install Starship using any of the following package managers:
Linux -Install the latest version for your system: +安装最新版本: ```sh curl -sS https://starship.rs/install.sh | sh ``` -Alternatively, install Starship using any of the following package managers: +或者,使用以下任一软件包管理器安装Starship: | 发行版 | 软件包来源 | 指令 | | ------------------ | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ | @@ -234,13 +234,13 @@ Alternatively, install Starship using any of the following package managers:
macOS -Install the latest version for your system: +安装最新版本: ```sh curl -sS https://starship.rs/install.sh | sh ``` -Alternatively, install Starship using any of the following package managers: +或者,使用以下任一软件包管理器安装Starship: | 软件包来源 | 指令 | | -------------------------------------------------------- | --------------------------------------- | @@ -254,9 +254,9 @@ Alternatively, install Starship using any of the following package managers:
Windows -Install the latest version for your system with the MSI-installers from the [releases section](https://github.com/starship/starship/releases/latest). +在 [发布页](https://github.com/starship/starship/releases/latest) 下载 MSI 包来安装最新版。 -Install Starship using any of the following package managers: +使用下列软件包管理器安装Starship: | 软件包来源 | 指令 | | -------------------------------------------------------------------------------------------- | --------------------------------------- | @@ -270,7 +270,7 @@ Install Starship using any of the following package managers: ### 步骤 2. 设置您的 shell 以使用 Starship -Configure your shell to initialize starship. Select yours from the list below: +配置你的终端来初始化 starship。 请从下面列表选择你的终端:
Bash @@ -286,7 +286,7 @@ eval "$(starship init bash)"
Cmd -您需要使用 [Clink](https://chrisant996.github.io/clink/clink.html) (v1.2.30+) 与 Cmd. Create a file at this path `%LocalAppData%\clink\starship.lua` with the following contents: +您需要使用 [Clink](https://chrisant996.github.io/clink/clink.html) (v1.2.30+) 与 Cmd. 在路径 `%LocalAppData%\clink\starship.lua` 下创建文件,输入以下内容 ```lua load(io.popen('starship init cmd'):read("*a"))() @@ -303,7 +303,7 @@ load(io.popen('starship init cmd'):read("*a"))() eval (starship init elvish) ``` -Note: Only Elvish v0.18+ is supported +注意:仅支持 v0.18 及以上版本的 Elvish
@@ -332,7 +332,7 @@ eval $(starship init ion)
Nushell -Add the following to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell): +在您的 Nushell 环境文件的最后(使用 `$nu.env-path` 来获取它的路径),添加以下内容: ```sh mkdir ~/.cache/starship @@ -345,14 +345,14 @@ starship init nu | save -f ~/.cache/starship/init.nu 使用 ~/.cache/starship/init.nu ``` -Note: Only Nushell v0.78+ is supported +注意:仅支持 Nushell v0.78+
PowerShell -Add the following to the end of your PowerShell configuration (find it by running `$PROFILE`): +将以下内容添加到您 PowerShell 配置文件的末尾(通过运行 `$PROFILE` 来获取配置文件的路径) ```powershell Invoke-Expression (&starship init powershell) @@ -395,9 +395,9 @@ eval "$(starship init zsh)" ### 步骤 3. 配置 Starship -Start a new shell instance, and you should see your beautiful new shell prompt. If you're happy with the defaults, enjoy! +打开一个新的 Shell 实例,你应该就能看到漂亮的 Shell 新提示符了。 如果你对默认配置感到满意,那么开始使用吧! -If you're looking to further customize Starship: +如果你想进一步配置 Starship,查阅下列内容: - **[配置](https://starship.rs/config/)**:学习如何配置 Starship 来调节提示符到你喜欢的样子。 @@ -405,15 +405,15 @@ If you're looking to further customize Starship: ## 🤝 贡献 -We are always looking for contributors of **all skill levels**! If you're looking to ease your way into the project, try out a [good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue). +我们欢迎 **任何水平** 的参与者! 如果想练手,可以试着解决某个标记为 [good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue) 的议题。 -If you are fluent in a non-English language, we greatly appreciate any help keeping our docs translated and up-to-date in other languages. If you would like to help, translations can be contributed on the [Starship Crowdin](https://translate.starship.rs/). +如果你精通非英语语言,请协助我们翻译并更新文档,非常感谢! 你可以在 [Starship Crowdin](https://translate.starship.rs/) 上参与翻译。 -If you are interested in helping contribute to starship, please take a look at our [Contributing Guide](https://github.com/starship/starship/blob/master/CONTRIBUTING.md). Also, feel free to drop into our [Discord server](https://discord.gg/8Jzqu3T) and say hi. 👋 +如果你想参与 Starship 项目,请查看我们的 [贡献指南](https://github.com/starship/starship/blob/master/CONTRIBUTING.md)。 也欢迎加入我们的 [Discord 服务器](https://discord.gg/8Jzqu3T) 和大家打个招呼。 👋 ## 💭 该项目受以下项目启发 -Please check out these previous works that helped inspire the creation of starship. 🙏 +请看看这些之前的项目,他们启发了 Starship 项目。 🙏 - **[denysdovhan/spaceship-prompt](https://github.com/denysdovhan/spaceship-prompt)** – 为宇航员准备的 ZSH 提示符。 @@ -423,17 +423,17 @@ Please check out these previous works that helped inspire the creation of starsh ## ❤️ 赞助商 -Support this project by [becoming a sponsor](https://github.com/sponsors/starship). Your name or logo will show up here with a link to your website. +通过 [成为赞助商 ](https://github.com/sponsors/starship)来支持这个项目。 您的名字或 LOGO 将在此处显示,并链接到您的网站。 -**Supporter Tier** +**支持者级别** - [Appwrite](https://appwrite.io/)


- Starship rocket icon + Starship 图标

## 📝 许可证 -Copyright © 2019-present, [Starship Contributors](https://github.com/starship/starship/graphs/contributors).
This project is [ISC](https://github.com/starship/starship/blob/master/LICENSE) licensed. +版权所有 © 2019 至今, [Starship 贡献者](https://github.com/starship/starship/graphs/contributors).
此项目使用 [ISC](https://github.com/starship/starship/blob/master/LICENSE) 许可.