From 2ba93a8c18ca008efb0b03e3cfa826e081a00514 Mon Sep 17 00:00:00 2001 From: Michelle Tilley Date: Fri, 12 Dec 2025 14:47:24 -0800 Subject: docs: Migrate docs from separate repo to `docs` subfolder (#3018) --- docs-i18n/zh-CN/shell-completions.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 docs-i18n/zh-CN/shell-completions.md (limited to 'docs-i18n/zh-CN/shell-completions.md') 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). -- cgit v1.3.1