Skip to content

Commit

Permalink
fix: reflect changes in aquaproj/aqua for shell setup example
Browse files Browse the repository at this point in the history
This patch reflects the changes in the main repository aquaprpj/aqua
applied by PR aquaproj/aqua#3297 [1] to the online documentation.

[1] aquaproj/aqua#3297
  • Loading branch information
akinomyoga committed Nov 27, 2024
1 parent d97c279 commit b31433e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/reference/config/shell-completion.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ aqua supports the shell completion.

```sh
if command -v aqua &> /dev/null; then
source <(aqua completion bash)
eval "$(aqua completion bash)"
fi
```

Expand Down
8 changes: 4 additions & 4 deletions docs/reference/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -583,19 +583,19 @@ DESCRIPTION:

e.g.

.bash_profile
# .bashrc

if command -v aqua &> /dev/null; then
source <(aqua completion bash)
eval "$(aqua completion bash)"
fi

.zprofile
# .zshrc

if command -v aqua &> /dev/null; then
source <(aqua completion zsh)
fi

fish
# fish

aqua completion fish > ~/.config/fish/completions/aqua.fish

Expand Down

0 comments on commit b31433e

Please sign in to comment.