diff --git a/README.md b/README.md index 71a656a..1859451 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ If you are using Linux (x86_64, ARM64), macOS (ARM64), or WSL on Windows, the re To do so, run: ```shell -. <(curl -sSfL https://raw.githubusercontent.com/Jelly-RDF/cli/main/install.sh) +. <(curl -sSfL https://w3id.org/jelly/setup-cli.sh) jelly-cli ``` diff --git a/install.sh b/install.sh index 2befc18..1f4b55a 100755 --- a/install.sh +++ b/install.sh @@ -83,11 +83,5 @@ else exit 1 fi -# Check if zsh or bash is being used and source the appropriate file -if expr "$SHELL" : '.*zsh' >/dev/null; then - echo "Run source ""$HOME/.zshrc"" or restart your terminal to permanently link the jelly-cli command." -elif expr "$SHELL" : '.*bash' >/dev/null; then - echo "Run source ""$HOME/.bashrc"" or restart your terminal to permanently link the jelly-cli command." -fi - - +jelly-cli completions install > /dev/null +eval "$(jelly-cli completions install --env)" \ No newline at end of file