Skip to content

Commit 7430c94

Browse files
authored
docs: Add Nushell information missing from website & readme (#461)
* docs: Add Nushell to lists of supported shells on website * docs: Add Nushell information missing from Chinese versions of readme and website Resolves #441
1 parent b70b327 commit 7430c94

File tree

6 files changed

+17
-6
lines changed

6 files changed

+17
-6
lines changed

README_CN.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,14 @@ echo 'vfox activate fish | source' >> ~/.config/fish/config.fish
4646
# 对于 PowerShell
4747
if (-not (Test-Path -Path $PROFILE)) { New-Item -Type File -Path $PROFILE -Force }; Add-Content -Path $PROFILE -Value 'Invoke-Expression "$(vfox activate pwsh)"'
4848

49-
# Clink:
49+
# 对于 Clink:
5050
# 1. 安装 clink: https://github.com/chrisant996/clink/releases
5151
# 或者安装 cmder: https://github.com/cmderdev/cmder/releases
5252
# 2. 找到脚本路径: clink info | findstr scripts
5353
# 3. 复制 internal/shell/clink_vfox.lua 到脚本路径
54+
55+
# 对于 Nushell:
56+
vfox activate nushell $nu.default-config-dir | save --append $nu.config-path
5457
```
5558
5659
> 请记住重启你的 Shell 以应用更改。

docs/guides/intro.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ through a simple plugin interface.
3838
| CMD || Only Support `Global` Scope. Not Recommend!!! |
3939
| Clink || |
4040
| Cmder || |
41+
| Nushell || |
4142

4243

4344

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ features:
3131
details: "Simple API, making it easy to add support for new tools!"
3232
icon: 🔌
3333
- title: "Shells"
34-
details: "Supports Powershell, Bash, ZSH, Fish and Clink, with autocomplete feature."
34+
details: "Supports Powershell, Bash, ZSH, Fish, Clink, and Nushell, with autocomplete feature."
3535
icon: 🐚
3636
- title: Backwards Compatible
3737
details: "Support for existing version files .nvmrc, .node-version, .sdkmanrc for smooth migration!"
@@ -61,4 +61,4 @@ features:
6161
--vp-home-hero-image-filter: blur(68px);
6262
}
6363
}
64-
</style>
64+
</style>

docs/zh-hans/guides/intro.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ API、配置文件和实现方式(比如,`$PATH`
3434
| CMD || 仅支持`Global`作用域,不推荐使用!!! |
3535
| Clink || |
3636
| Cmder || |
37+
| Nushell || |
3738

3839

3940

docs/zh-hans/guides/quick-start.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,12 @@ y
131131
2. 复制 [clink_vfox.lua](https://github.com/version-fox/vfox/blob/main/internal/shell/clink_vfox.lua) 到脚本目录下,`clink_vfox.lua`脚本只需放置在其中一个目录中,无需放入每个目录。
132132
3. 重启 Clink 或 Cmder
133133
134+
::: details Nushell
135+
136+
```shell
137+
vfox activate nushell $nu.default-config-dir | save --append $nu.config-path
138+
```
139+
134140
:::
135141
136142
然后,打开一个新终端。
@@ -145,7 +151,7 @@ y
145151
你可以使用 `vfox available` 命令查看所有可用插件。
146152
:::
147153
148-
```bash
154+
```bash
149155
$ vfox add nodejs
150156
```
151157

docs/zh-hans/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ features:
3131
details: "简单的API, 添加新工具的支持变得轻而易举!"
3232
icon: 🔌
3333
- title: "Shells"
34-
details: "支持 Powershell、Bash、ZSH、Fish和Clink,并提供补全功能。"
34+
details: "支持 Powershell、Bash、ZSH、Fish、Clink和Nushell,并提供补全功能。"
3535
icon: 🐚
3636
- title: 向后兼容
3737
details: "支持从现有配置文件.nvmrc、.node-version、.sdkmanrc平滑迁移!"
@@ -61,4 +61,4 @@ features:
6161
--vp-home-hero-image-filter: blur(68px);
6262
}
6363
}
64-
</style>
64+
</style>

0 commit comments

Comments
 (0)