From 6e1dd2a58b5f816e9ac75368bd61c14e0ae80fbb Mon Sep 17 00:00:00 2001 From: Thibault Martinez Date: Thu, 16 Jan 2025 11:57:01 +0100 Subject: [PATCH] add bash completion --- docs/content/references/cli.mdx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/content/references/cli.mdx b/docs/content/references/cli.mdx index 9326c8383e3..f77b4d0f1ba 100644 --- a/docs/content/references/cli.mdx +++ b/docs/content/references/cli.mdx @@ -44,10 +44,9 @@ Use the `help` flag for the commands that are not documented yet. For example, ` -TODO - ```sh -iota generate-completions --shell bash +iota generate-completions --shell bash > ~/.iota/completion.bash +echo "source ~/.iota/completion.bash" >> ~/.bashrc ``` @@ -64,8 +63,6 @@ iota generate-completions --shell elvish -https://fishshell.com/docs/current/completions.html - ```sh iota generate-completions --shell fish > iota.fish mv iota.fish ~/.config/fish/completions