summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-02-26 03:33:50 +0000
committersigoden <sigoden@gmail.com>2024-02-26 03:33:50 +0000
commit05dfdd0b37d537194c0513f11c3f63bf5efa5dd0 (patch)
treead57016413d96c6f11c7fb2298d51c189e3c88d2
parentff0ec15e065957a0da197711f6e3adfb9992325a (diff)
downloadaichat-05dfdd0b37d537194c0513f11c3f63bf5efa5dd0.tar.gz
chore: update readme
-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.