0xacx / chatGPT-shell-cli

Simple shell script to use OpenAI's ChatGPT and DALL-E from the terminal. No Python or JS required.
https://gptshell.cc
MIT License
1.11k stars 157 forks source link

Start each script with `#!/usr/bin/env bash` #110

Closed sauterp closed 2 months ago

sauterp commented 1 year ago

On NixOS #!/bin/bash at the start of a script fails, since the bash is somewhere in /nix/store/. We start each script with #!/usr/bin/env bash since that's supported by most distros AFAIK.

Freed-Wu commented 1 year ago

Yes. Fix the shebang is required for https://github.com/NixOS/nixpkgs/issues/243368.