summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index b4bec44..be3ffd8 100644
--- a/README.md
+++ b/README.md
@@ -404,8 +404,9 @@ To install shell integration, run the following code:
```sh
sh_ext=bash # possible values: bash, fish, zsh, ps1
-curl -o aichat-integration.$sh_ext https://raw.githubusercontent.com/sigoden/aichat/main/scripts/integration.$sh_ext
-. aichat-integration.$sh_ext
+sh_url=https://raw.githubusercontent.com/sigoden/aichat/main/scripts/integration.$sh_ext
+curl -o aichat-integration.$sh_ext $sh_url
+source aichat-integration.$sh_ext
```
After that restart your shell. You can invoke the completion with `alt+e` hotkey.