mirror of
https://github.com/0xacx/chatGPT-shell-cli.git
synced 2024-11-24 11:25:31 +00:00
Compare commits
5 Commits
a8b61627b2
...
89549cf318
Author | SHA1 | Date | |
---|---|---|---|
|
89549cf318 | ||
|
97543d1a1d | ||
|
6244388c57 | ||
|
e90748a630 | ||
|
163fc5f227 |
@ -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)
|
||||
[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)
|
||||
|
||||
|
@ -236,7 +236,7 @@ while $running; do
|
||||
|
||||
if [ -z "$pipe_mode_prompt" ]; then
|
||||
echo -e "\nEnter a prompt:"
|
||||
read prompt
|
||||
read -e prompt
|
||||
else
|
||||
# set vars for pipe mode
|
||||
prompt=${pipe_mode_prompt}
|
||||
@ -258,7 +258,7 @@ while $running; do
|
||||
rm temp_image.png
|
||||
else
|
||||
echo "Would you like to open it? (Yes/No)"
|
||||
read answer
|
||||
read -e answer
|
||||
if [ "$answer" == "Yes" ] || [ "$answer" == "yes" ] || [ "$answer" == "y" ] || [ "$answer" == "Y" ] || [ "$answer" == "ok" ]; then
|
||||
open "${image_url}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user