chatGPT-shell-cli icon indicating copy to clipboard operation
chatGPT-shell-cli copied to clipboard

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

Open sauterp opened this issue 2 years ago • 1 comments

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.

sauterp avatar May 24 '23 08:05 sauterp

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

Freed-Wu avatar Jul 14 '23 07:07 Freed-Wu