Skip to content

fix: use /usr/bin/env bash instead of hardcoded bash path #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Quoteme
Copy link

@Quoteme Quoteme commented Jun 30, 2023

This makes your extension work on distros like NixOS, which have different locations for where bash is installed.

@BerriJ
Copy link

BerriJ commented Mar 19, 2025

I just added this package to the NixOS store, so the easiest (and a declarative) way to install this on NixOS is through your configuration. :)

On the PR itself: I suggest using /bin/sh for the shebang line. POSIX mandates a shell named sh, so every Unix-like system (including Linux) has a sh binary or a symlink to a compatible shell. This does not hold for bash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants