antonlindstrom / passpwn

See if your passwords in pass has been breached.
132 stars 12 forks source link

Use /usr/bin/env #4

Closed Avaq closed 6 years ago

Avaq commented 6 years ago

I'm not sure if you want this, see this answer for the pros and cons, but it should allow the script to be run on a larger number of systems, including my own, where bash is not in the expected place (but /usr/bin/env is, as an exception).

$ whereis bash
bash: /nix/store/idaq9banzih5n5fjx8kgcfnlfd5qf8mf-system-path/bin/bash
antonlindstrom commented 6 years ago

Thank you for contributing!