mirror of
https://github.com/0xacx/chatGPT-shell-cli.git
synced 2025-02-22 02:35:30 +00:00
Merge branch 'main' into set-gpt3.5-turbo-as-default-model
This commit is contained in:
commit
f8b01ed1de
@ -137,5 +137,5 @@ This script relies on curl for the requests to the api and jq to parse the json
|
||||
## Contributors
|
||||
:pray: Thanks to all the people who used, tested, submitted issues, PRs and proposed changes:
|
||||
|
||||
[pfr-dev](https://www.github.com/pfr-dev), [jordantrizz](https://www.github.com/jordantrizz), [se7en-x230](https://www.github.com/se7en-x230), [mountaineerbr](https://www.github.com/mountaineerbr), [oligeo](https://www.github.com/oligeo), [biaocy](https://www.github.com/biaocy), [dmd](https://www.github.com/dmd), [goosegit11](https://www.github.com/goosegit11), [dilatedpupils](https://www.github.com/dilatedpupils)
|
||||
[pfr-dev](https://www.github.com/pfr-dev), [jordantrizz](https://www.github.com/jordantrizz), [se7en-x230](https://www.github.com/se7en-x230), [mountaineerbr](https://www.github.com/mountaineerbr), [oligeo](https://www.github.com/oligeo), [biaocy](https://www.github.com/biaocy), [dmd](https://www.github.com/dmd), [goosegit11](https://www.github.com/goosegit11), [dilatedpupils](https://www.github.com/dilatedpupils), [direster](https://www.github.com/direster)
|
||||
|
||||
|
@ -32,7 +32,7 @@ curl -sS https://raw.githubusercontent.com/0xacx/chatGPT-shell-cli/main/chatgpt.
|
||||
|
||||
# Replace open image command with xdg-open for linux systems
|
||||
if [[ "$OSTYPE" == "linux-gnu"* ]] || [[ "$OSTYPE" == "freebsd"* ]]; then
|
||||
sed -i -h 's/open "\${image_url}"/xdg-open "\${image_url}"/g' '/usr/local/bin/chatgpt'
|
||||
sed -i 's/open "\${image_url}"/xdg-open "\${image_url}"/g' '/usr/local/bin/chatgpt'
|
||||
fi
|
||||
chmod +x /usr/local/bin/chatgpt
|
||||
echo "Installed chatgpt script to /usr/local/bin/chatgpt"
|
||||
|
Loading…
Reference in New Issue
Block a user