We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b641ca commit e487b01Copy full SHA for e487b01
install.sh
@@ -32,7 +32,7 @@ curl -sS https://raw.githubusercontent.com/0xacx/chatGPT-shell-cli/main/chatgpt.
32
33
# Replace open image command with xdg-open for linux systems
34
if [[ "$OSTYPE" == "linux-gnu"* ]] || [[ "$OSTYPE" == "freebsd"* ]]; then
35
- 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'
36
fi
37
chmod +x /usr/local/bin/chatgpt
38
echo "Installed chatgpt script to /usr/local/bin/chatgpt"
0 commit comments