santinic/how2

Linux can't handle --no-deprecation argument in shebang.

ctemplin opened this issue · 0 comments

The entire string following the interpreter name is passed as a single argument to the interpreter.

Apparently there is no good solution for this yet.

My favorite workaround looks like this in my .bashrc:

alias how2='/usr/bin/env node --no-deprecation "$(which how2)"'