Skip to content

syntax error in install.sh #117

Open
@hvl71

Description

@hvl71

I install on Ubuntu 22.04 using the install script:

curl -sS https://raw.githubusercontent.com/0xacx/chatGPT-shell-cli/main/install.sh | sudo -E bash
Installed chatgpt script to /usr/local/bin/chatgpt
The script will add the OPENAI_KEY environment variable to your shell profile and add /usr/local/bin to your PATH
Would you like to continue? (Yes/No)
OpenAI key and chatgpt path added to ~/.zshrc
Installation complete
bash: line 93: syntax error near unexpected token else' bash: line 93: else'

The syntax error is a bit confusing and maybe influences functionality?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions