Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,14 @@ if ! echo "$PATH" | grep -q "$INSTALL_DIR"; then
fi
fi

# Silently install completions
nohup jelly-cli completions install > /dev/null 2>&1
eval "$(jelly-cli completions install --env)"

# Link the binary to the installation directory
if [ -f "$INSTALL_DIR/jelly-cli" ]; then
echo "Installation successful! You can now use Jelly CLI by running 'jelly-cli'."
else
echo "Error: Installation failed. The binary was not found in the installation directory."
exit 1
fi

jelly-cli completions install
fi