What version of Bun is running?
1.1.6
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What steps can reproduce the bug?
# bun init
bun init
# install deps
bun install -d @commitlint/config-conventional @commitlint/cli husky
# init git
git init -b dev
# init git hook
bunx husky init
bunx husky init not works well:

when change to npx, it works well as the above picture presents.
# huasky init
npx husky init
# commit lint
echo npx --no -- commitlint --edit $1 > .husky/commit-msg
# git commit lint
git commit -am 'test'
while use bun install the deps,the @commitlint/cli not works with husky git hook npx --no -- commitlint --edit $1

infact, the command commitlint is installed in node_modules/.bin diretory:

when I change the git hook to: bunx --no -- commitlint --edit $1 it works:

when use npm install -D @commitlint/config-conventional @commitlint/cli husky,this can be work well:
npx --no -- commitlint --edit $1

bunx --no -- commitlint --edit $1

both bunx and npx can work well:
What is the expected behavior?
I hope bun install can works well as npm install
bun install -d @commitlint/config-conventional @commitlint/cli husky
bunx husky init
npm install -D @commitlint/config-conventional @commitlint/cli husky
npx husky init
bunx should works well as npx
bunx --no -- commitlint --edit $1
npx --no -- commitlint --edit $1
What do you see instead?
No response
Additional information
No response
What version of Bun is running?
1.1.6
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What steps can reproduce the bug?
bunx husky initnot works well:when change to
npx, it works well as the above picture presents.while use

bun installthe deps,the@commitlint/clinot works withhuskygit hooknpx --no -- commitlint --edit $1infact, the command

commitlintis installed innode_modules/.bindiretory:when I change the git hook to:

bunx --no -- commitlint --edit $1it works:when use
npm install -D @commitlint/config-conventional @commitlint/cli husky,this can be work well:npx --no -- commitlint --edit $1bunx --no -- commitlint --edit $1both
bunxandnpxcan work well:What is the expected behavior?
I hope
bun installcan works well asnpm installbunxshould works well asnpxbunx --no -- commitlint --edit $1npx --no -- commitlint --edit $1What do you see instead?
No response
Additional information
No response