From b31433e9fcf068442efc51ade7f54929c4e97995 Mon Sep 17 00:00:00 2001 From: Koichi Murase Date: Thu, 28 Nov 2024 08:04:17 +0900 Subject: [PATCH] fix: reflect changes in aquaproj/aqua for shell setup example This patch reflects the changes in the main repository aquaprpj/aqua applied by PR aquaproj/aqua#3297 [1] to the online documentation. [1] https://github.com/aquaproj/aqua/pull/3297 --- docs/reference/config/shell-completion.md | 2 +- docs/reference/usage.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/reference/config/shell-completion.md b/docs/reference/config/shell-completion.md index d82393db6..2dd797792 100644 --- a/docs/reference/config/shell-completion.md +++ b/docs/reference/config/shell-completion.md @@ -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 ``` diff --git a/docs/reference/usage.md b/docs/reference/usage.md index e0392f51d..1577f4afa 100644 --- a/docs/reference/usage.md +++ b/docs/reference/usage.md @@ -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