diff options
| author | Michelle Tilley <michelle@michelletilley.net> | 2025-12-12 14:47:24 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-12 14:47:24 -0800 |
| commit | 2ba93a8c18ca008efb0b03e3cfa826e081a00514 (patch) | |
| tree | b408f74c07d6270cb1618fcff932e94eebdef28d /docs-i18n/zh-CN/shell-completions.md | |
| parent | fix: prevent interactive search crash when update check fails (#3016) (diff) | |
| download | atuin-2ba93a8c18ca008efb0b03e3cfa826e081a00514.zip | |
docs: Migrate docs from separate repo to `docs` subfolder (#3018)
Diffstat (limited to 'docs-i18n/zh-CN/shell-completions.md')
| -rw-r--r-- | docs-i18n/zh-CN/shell-completions.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/docs-i18n/zh-CN/shell-completions.md b/docs-i18n/zh-CN/shell-completions.md new file mode 100644 index 00000000..0979dcb0 --- /dev/null +++ b/docs-i18n/zh-CN/shell-completions.md @@ -0,0 +1,19 @@ +# `atuin gen-completions` + +Atuin 的 [Shell 补全](https://en.wikipedia.org/wiki/Command-line_completion) 可以通过 `gen-completions` 子命令指定输出目录和所需的 shell 来生成。 + +``` +$ atuin gen-completions --shell bash --out-dir $HOME + +Shell completion for BASH is generated in "/home/user" +``` + +`--shell` 参数的可能值如下: + +- `bash` +- `fish` +- `zsh` +- `powershell` +- `elvish` + +此外, 请参阅 [支持的 Shells](./README.md#支持的-Shells). |
