Skip to content

Commit

Permalink
add bash completion
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Jan 16, 2025
1 parent d65e9a1 commit 6e1dd2a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docs/content/references/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@ Use the `help` flag for the commands that are not documented yet. For example, `

<TabItem label="Bash" value="bash">

TODO

```sh
iota generate-completions --shell bash
iota generate-completions --shell bash > ~/.iota/completion.bash
echo "source ~/.iota/completion.bash" >> ~/.bashrc
```

</TabItem>
Expand All @@ -64,8 +63,6 @@ iota generate-completions --shell elvish

<TabItem label="Fish" value="fish">

https://fishshell.com/docs/current/completions.html

```sh
iota generate-completions --shell fish > iota.fish
mv iota.fish ~/.config/fish/completions
Expand Down

0 comments on commit 6e1dd2a

Please sign in to comment.