From 41bb9d2def4006626faf18c058f1769a03bb7f11 Mon Sep 17 00:00:00 2001 From: Karolina Bogacka Date: Fri, 8 Aug 2025 22:02:56 +0200 Subject: [PATCH 1/5] Add autocompletions --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 2befc18..ebcc61c 100755 --- a/install.sh +++ b/install.sh @@ -90,4 +90,5 @@ 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 +eval "$(jelly-cli completions install --env)" From a152ace5cc1989433bd4dfa02cd2741287e58116 Mon Sep 17 00:00:00 2001 From: Karolina Bogacka Date: Fri, 8 Aug 2025 22:30:07 +0200 Subject: [PATCH 2/5] Add a nicer looking URL --- README.md | 2 +- install.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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 ebcc61c..55ce6a8 100755 --- a/install.sh +++ b/install.sh @@ -91,4 +91,3 @@ elif expr "$SHELL" : '.*bash' >/dev/null; then fi jelly-cli completions install -eval "$(jelly-cli completions install --env)" From 76e2cb4a69743dcdb7f35cd64714a71eb95677dd Mon Sep 17 00:00:00 2001 From: Karolina Bogacka Date: Fri, 8 Aug 2025 22:49:45 +0200 Subject: [PATCH 3/5] Make nicer output --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 55ce6a8..6930ccd 100755 --- a/install.sh +++ b/install.sh @@ -90,4 +90,5 @@ 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 +jelly-cli completions install > /dev/null 2>&1 +eval "$(jelly-cli completions install --env)" \ No newline at end of file From 8b2e3df2f781c8cfcfdd204f236ae6804beff10a Mon Sep 17 00:00:00 2001 From: Karolina Bogacka Date: Fri, 8 Aug 2025 22:53:13 +0200 Subject: [PATCH 4/5] Maybe now --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 6930ccd..936dcc8 100755 --- a/install.sh +++ b/install.sh @@ -90,5 +90,5 @@ 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 2>&1 +jelly-cli completions install > /dev/null eval "$(jelly-cli completions install --env)" \ No newline at end of file From 1d565554231177247590573fbe9f8c26e9d9f000 Mon Sep 17 00:00:00 2001 From: Karolina Bogacka Date: Fri, 8 Aug 2025 22:56:08 +0200 Subject: [PATCH 5/5] Maybe now --- install.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/install.sh b/install.sh index 936dcc8..1f4b55a 100755 --- a/install.sh +++ b/install.sh @@ -83,12 +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